$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Corwin Joy (cjoy_at_[hidden])
Date: 2005-08-22 22:33:11
> Jonathan Wakely wrote:
>
>> How do you handle NULL values?  the postgresql::row_set_imp::get() 
>> function
>> doesn't seem to account for NULL, which would crash strlen(), atof() etc.
>
In DTL, Paul Harris actually just created a version of boost::optional to 
handle NULL values which worked very well as a way to read and write types 
that could be null.  He also did mappings of the boost::posix_time class and 
we also used a version of the boost:variant class to provide dynamically 
bound types (where you don't know the types until runtime).