[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
Wed Jan 18 17:28:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70530
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
THe committee's intention is that self-swap is not undefined.
More information about the Gcc-bugs
mailing list