bool variant::empty() const; http://www.boost.org/doc/libs/1_36_0/doc/html/boost/variant.html -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Steven Watanabe Sent: Thursday, October 09, 2008 13:36 To: boost-users@lists.boost.org Subject: Re: [Boost-users] boost::variant construction,assignment AMDG peter_foelsche@agilent.com 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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users