Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-05-06 15:24:15


AMDG

Ovanes Markarian wrote:
> Igor, I assume the following:
> If the first type throws an exception while creation the second is
> created and so forth and the exception is probably not reported to you.

Last time I checked, the variant's default constructor
will construct the first type and if it fails will simply propagate the
exception.

If an operation succeeds, than it is safe to assume that the
variant holds what you tried to put in.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net