Boost logo

Boost :

From: E. Gladyshev (egladysh_at_[hidden])
Date: 2003-10-09 12:27:18


--- Brock Peabody <brock.peabody_at_[hidden]> wrote:
[...]
>
> Imagine, for instance, that boost::variant ignored exceptions during
> assignment - it stops making the basic guarantee. Can you see that the
> destructor for boost::variant will enter undefined territory?
>

No, you don't ignore it you delete the contained object
and set the variant's state to singular. Don't see
any problems here.

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