Boost logo

Boost :

From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-10-06 19:53:23


--- Eric Friedman <ebf_at_[hidden]> wrote:

[...]
>
> Please see http://aspn.activestate.com/ASPN/Mail/Message/boost/1826694
> describing the considerations that went into this.

I see your point.

>
> Note, too, that this code will never execute for any T that is nothrow
> copyable or if the first bounded type of the variant is nothrow
> default-constructible (e.g., variant<int, ...> or variant<boost::empty,
> ...>, etc.).

Is there any way to use 'variant' in a policy based library
with a wide set of types?
I'd like to have a memory policy in my library.
How can I meet these constraints if my types
are not very well predefined?

Eugene

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk