[Bug libstdc++/70530] [DR2468] You should probably add addressof (a) != addressof (b) check to std::swap

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 27 17:51:00 GMT 2017


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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
If you think there's still a problem please show a concrete example where our
current implementation of std::swap causes a problem.


More information about the Gcc-bugs mailing list