PR libstdc++/64239
commitfc5e424b735d663fe2d9eecc76aaafbb6c453ede
authortimshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jan 2015 03:58:59 +0000 (9 03:58 +0000)
committertimshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jan 2015 03:58:59 +0000 (9 03:58 +0000)
tree4bf54a771ccb3f56af5d6f86fe0077e257be1959
parentf404fe252328b41fa1bb7f7556710bb01e1585a4
PR libstdc++/64239
* include/bits/regex.h (match_results<>::swap): Use std::swap
instead of swap.
* include/bits/regex_compiler.tcc (_Compiler<>::_M_quantifier):
Likewise.
* testsuite/28_regex/match_results/swap.cc: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219373 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h
libstdc++-v3/include/bits/regex_compiler.tcc
libstdc++-v3/testsuite/28_regex/match_results/swap.cc [new file with mode: 0644]