Boost logo

Boost :

From: degski (degski_at_[hidden])
Date: 2019-06-27 06:45:22


On Thu, 27 Jun 2019 at 09:35, Robert Ramey via Boost <boost_at_[hidden]>
wrote:

> From time to time I think about this. Is swap guarenteed not to throw?
>

As from C++11 std::swap is marked noexcept, so yes. As from C++20 it's also
constexpr, so now it can definitely cannot throw.

degski

-- 
@realdegski
https://edition.cnn.com/interactive/2019/06/middleeast/saudi-teen-death-penalty-intl/
"Anyone who believes that exponential growth can go on forever in a finite
world is either a madman or an economist" - Kenneth E. Boulding

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