[Bug libstdc++/65114] char_traits::copy violates memcpy constraints, own postcondition

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 16 11:50:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65114

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Libstdc++, libc++ and MSVC all use memcpy for char_traits<char>::copy, so we
all have the same undefined behaviour.


More information about the Gcc-bugs mailing list