Boost logo

Boost :

Subject: Re: [boost] [review] The review of Boost.DoubleEnded starts today: September 21 - September 30
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2017-09-27 19:54:02


On 27/09/2017 20:20, Thorsten Ottosen via Boost wrote:
>> Anything that reallocates, really. Basically, unconditionally move
>> during reallocation instead of move_if_noexcept, and if the move
>> throws you only get basic exception safety.
>
> Does Boost.Container do this? Would it not make generic code harder to
> reason about?

Yes. See:

http://www.boost.org/doc/libs/1_65_1/doc/html/container/Cpp11_conformance.html#container.Cpp11_conformance.vector_exception_guarantees

Best,

Ion


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