8 May
2008
8 May
'08
5:58 p.m.
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