27 Jun
2019
27 Jun
'19
6:45 a.m.
On Thu, 27 Jun 2019 at 09:35, Robert Ramey via Boost
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-pena... "Anyone who believes that exponential growth can go on forever in a finite world is either a madman or an economist" - Kenneth E. Boulding