You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is bogus because swap() activates POCS logic (propagate_on_container_swap), but move assignment needs to activate POCMA logic (propagate_on_container_move_assignment). The unconditional noexcept strengthening is also bogus.
Found by std/input.output/string.streams/stringbuf/stringbuf.cons/move.alloc.pass.cpp in the upcoming libcxx update that I'm working on. The error was sstream(94) : Assertion failed: The allocators of basic_stringbuf should propagate or be equal on swap.
The text was updated successfully, but these errors were encountered:
basic_stringbuf
implements move construction and move assignment withswap()
:STL/stl/inc/sstream
Lines 74 to 88 in 0403d19
This is bogus because
swap()
activates POCS logic (propagate_on_container_swap
), but move assignment needs to activate POCMA logic (propagate_on_container_move_assignment
). The unconditionalnoexcept
strengthening is also bogus.Found by
std/input.output/string.streams/stringbuf/stringbuf.cons/move.alloc.pass.cpp
in the upcoming libcxx update that I'm working on. The error wassstream(94) : Assertion failed: The allocators of basic_stringbuf should propagate or be equal on swap.
The text was updated successfully, but these errors were encountered: