Implement LWG 3296 for basic_regex::assign
authorJonathan Wakely <jwakely@redhat.com>
Wed, 25 Sep 2019 12:31:53 +0000 (13:31 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 25 Sep 2019 12:31:53 +0000 (13:31 +0100)
commit21f7f9980c078080189ca78e4da56f0c26736946
tree27e0f59226886b3b7a3d66a1a4f91aa98210744f
parent48bea5dff4ced6dc87f08f615fcce5358606b0ba
Implement LWG 3296 for basic_regex::assign

* include/bits/regex.h
(basic_regex::assign(const C*, size_t, flag_type)): Add default
argument (LWG 3296).
* testsuite/28_regex/basic_regex/assign/char/lwg3296.cc: New test.
* testsuite/28_regex/basic_regex/assign/wchar_t/lwg3296.cc: New test.

From-SVN: r276121
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h
libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/lwg3296.cc [new file with mode: 0644]
libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/lwg3296.cc [new file with mode: 0644]