6 May
2008
6 May
'08
7:24 p.m.
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