$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Joel de Guzman (joel_at_[hidden])
Date: 2004-06-24 21:55:52
Erik Thiele wrote:
> hi
>
> i have an int. but it should also support a "undefined" state like SQL
> NULL. most times i can use -1 for this. but there are also data types
> without a reasonable undefined value. maybe float or double. or maybe -1
> is perfectly legal.
Have you considered boost.optional?
Regards,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net