Boost logo

Boost :

Subject: Re: [boost] [outcome] Exception safety guarantees
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-27 16:53:29


Andrzej Krzemienski wrote:

> If they do, you only have a basic guarantee: you can destroy, assign to,
> or maybe call valueless_by_exception(). Nothing more.

This is not the basic guarantee. It's one step lower than basic and has no
name because it deliberately hasn't been named (by Dave Abrahams).

(And yes, we had endless debates on this very same topic for std::variant.)


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