]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Define std::sub_match::swap member function (LWG 3204)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 4 Apr 2023 19:28:59 +0000 (20:28 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 5 Apr 2023 10:37:19 +0000 (11:37 +0100)
commit44e17b8d8999a658af9f86681504d74a119a5f6f
tree602bcfcfe3848a3a61bdbfe1163cfc7883037273
parentfdc5abbdcfb65d415af6c40230f8f07872e51e49
libstdc++: Define std::sub_match::swap member function (LWG 3204)

This was approved at the C++ meeting in February.

libstdc++-v3/ChangeLog:

* include/bits/regex.h (sub_match::swap): New function.
* testsuite/28_regex/sub_match/lwg3204.cc: New test.
libstdc++-v3/include/bits/regex.h
libstdc++-v3/testsuite/28_regex/sub_match/lwg3204.cc [new file with mode: 0644]