Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::variant construction,assignment
From: peter_foelsche_at_[hidden]
Date: 2008-10-09 16:39:12

bool variant::empty() const;

-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: Thursday, October 09, 2008 13:36
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] boost::variant construction,assignment


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.

In Christ,
Steven Watanabe

Boost-users mailing list

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at