Boost logo

Boost Users :

From: Igor R. (igor_rubinov_at_[hidden])
Date: 2008-05-08 13:58:47


Exactly.
Anyway, it was very useful to find-out how to access the variant bounded types, since it would be applicable in some other scenarios...> Max wrote:> > >> Hmm... how could I miss such a straightforward solution?? :)> > > > how is this solution straightforward? Please elaborate.> > The OP stated that sometimes he needs his type to express "none of the > above." boost::optional is specifically intended to distinguish the case > in which you have no meaningful value -- rather like SQL's NULL.
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net