https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82966
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon May 14 21:51:46 2018 New Revision: 260240 URL: https://gcc.gnu.org/viewcvs?rev=260240&root=gcc&view=rev Log: PR libstdc++/82966 fix swapping of node handles PR libstdc++/82966 * include/bits/node_handle.h (_Node_handle_common::_M_swap): Use value instead of type. * testsuite/23_containers/set/modifiers/node_swap.cc: New. Added: branches/gcc-8-branch/libstdc++-v3/testsuite/23_containers/set/modifiers/node_swap.cc Modified: branches/gcc-8-branch/libstdc++-v3/ChangeLog branches/gcc-8-branch/libstdc++-v3/include/bits/node_handle.h