[Bug libstdc++/105258] std::get_temporary_buffer() does not respect alignment (affects std::stable_sort())
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 13 11:33:34 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105258
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The simplest solution would be to just use std::allocator<T> which already does
the right thing, but that would break if there is a program-defined
specialization of std::allocator<T>.
More information about the Gcc-bugs
mailing list