[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 Dec 2 17:38:00 GMT 2016


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
DR 2468 now says we should do something like this.


More information about the Gcc-bugs mailing list