Opened 6 years ago

#12801 new Bugs

dynamic_bitset move constructor/assignment does not compile with state allocator

Reported by: piotr.cisowski@… Owned by: jsiek
Milestone: To Be Determined Component: dynamic_bitset
Version: Boost 1.62.0 Severity: Problem
Keywords: Cc:

Description

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).

Change History (0)

Note: See TracTickets for help on using tickets.