Opened 6 years ago
#12801 new Bugs
dynamic_bitset move constructor/assignment does not compile with state allocator
Reported by: | 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).
Note:
See TracTickets
for help on using tickets.