From: Itay Maman (itay_maman_at_[hidden])
Date: 2002-07-21 06:43:39
"Douglas Gregor" <gregod_at_[hidden]> wrote in message
> > Currently variant::empty() is provided only for type signature
> > compatilibity with boost::any and always returns a true value. Is the
> > concept of an empty variant an important or useful one?
> Shouldn't that always return a false value?
You are right. It should be false.
> extract<T> can be added at any time, so it might as well come along with
This brings me to this point: The variant equivalent of any_cast<>, i.e:
variant_cast<>, has been renamed to boost::extract<>. This reduces the level
of compatibility with boost::any even further. Given this, shouldn't we drop
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk