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! Try it!