Boost logo

Boost :

Subject: Re: [boost] [outcome] Exception safety guarantees
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-27 17:25:40

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?

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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at