Boost logo

Boost :

Subject: Re: [boost] [outcome] Exception safety guarantees
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-05-27 18:01:38


On 5/27/17 10:25 AM, Peter Dimov via Boost wrote:
> Andrzej Krzemienski wrote:
>
>> How come? I thought bsic guarantee menas I just should be able to
>> safely destroy it without UB or resource leaks, and perhaps to reset
>> it. How does the above not meet these guarantees?

Hmmm - perhaps this refers to the "strong" guarentee. Calling David
Abrahams.

>
> No. Basic means you can safely use the object. It's in an unspecified
> state, but it's usable. Same as move - unspecified, but valid.
>
> Destroy-only is a completely different animal.
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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