Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12319: `boost::container::flat_set` should be nothrow move constructible
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-01 21:56:13
#12319: `boost::container::flat_set` should be nothrow move constructible
-------------------------------+------------------------
Reporter: beck.ct@⦠| Owner: igaztanaga
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: container
Version: Boost 1.61.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+------------------------
Changes (by igaztanaga):
* status: new => closed
* resolution: => fixed
Comment:
Thanks for the report. I've revised the standard and several STL
implementations, and they all agree that associative containers' move
constructor can't be unconditionally noexcept since they need to move
construct the comparison predicate from the source container. However,
they can be noexcept if the Compare's move constructor is noexcept. The
commit:
https://github.com/boostorg/container/commit/225e2da77e65fa73a79b5acba1a8faf5e4abe25c
revises all default and move constructors and tries to better specify the
minimum conditions to mark them as noexcept.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12319#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC