[Boost-bugs] [Boost C++ Libraries] #12801: dynamic_bitset move constructor/assignment does not compile with state allocator

Subject: [Boost-bugs] [Boost C++ Libraries] #12801: dynamic_bitset move constructor/assignment does not compile with state allocator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-02-01 09:05:38


#12801: dynamic_bitset move constructor/assignment does not compile with state
allocator
------------------------------+----------------------------
 Reporter: piotr.cisowski@… | Owner: jsiek
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: dynamic_bitset
  Version: Boost 1.62.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------------
 Since C++11 custom allocators may contain state.

 Asserts in move constructor/assignment

 ''assert((b.m_bits = buffer_type()).empty());''

 compile only if allocator is stateless (has constructor with no
 arguments).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12801>
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:21 UTC