Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::variant construction,assignment
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-09 16:36:29


AMDG

peter_foelsche_at_[hidden] wrote:
> boost::variant has already the notion that it has not been set with any value.
> So there is no need to make it optional.

Not unless you use boost::blank.

http://www.boost.org/doc/html/variant/design.html#variant.design.never-empty

In Christ,
Steven Watanabe


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