Opened 7 years ago
#11515 new Bugs
dynamic_bitset move constructor should be conditionally noexcept
| Reported by: | anonymous | Owned by: | jsiek |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | dynamic_bitset |
| Version: | Boost 1.58.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
It should be noexcept if buffer_type is nothrow move constructible, i.e., noexcept(is_nothrow_move_constructible<buffer_type>::value).
Otherwise, a std::vector<dynamic_bitset> will be forced to copy on reallocation.
Note:
See TracTickets
for help on using tickets.
