News for hackers. Stuff that matters.
Re:Clang emits memcpy for std::swap, which can introduce und... by Joky on Monday April 25, 2016 @12:18AM (#11562499)
It is not about making memcpy behave the same as memmove: in this case the difference would still be between exact identity (src == dest) and partial overlap.
Re:Clang emits memcpy for std::swap, which can introduce und... by haberman on Monday April 25, 2016 @12:58AM (#11562558)
I see, thanks for clarifying. I agree there could be reason to consider a change in that case.