P0935R0 Eradicating unnecessarily explicit default constructors
authorJonathan Wakely <jwakely@redhat.com>
Thu, 14 Jun 2018 14:12:24 +0000 (15:12 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 14 Jun 2018 14:12:24 +0000 (15:12 +0100)
commite9ecac306b972a45e2a6a4385bdf2bdc7f7ed68c
tree1588c66da6304cb6c241c08dbf17f45ed0186a09
parent74755c6afcf45be8723e30f08b6e38ec105a636a
P0935R0 Eradicating unnecessarily explicit default constructors

More pieces of P0935R0, making default constructors non-explicit.

* include/backward/strstream (strstreambuf): Add non-explicit default
constructor.
* include/bits/locale_conv.h (wbuffer_convert, wstring_convert):
Likewise.
* include/bits/regex.h (match_results): Likewise.
* testsuite/22_locale/conversions/buffer/1.cc: Test for non-explicit
default constructor.
* testsuite/22_locale/conversions/string/1.cc: Likewise.
* testsuite/28_regex/match_results/ctors/char/default.cc: Likewise.
* testsuite/28_regex/match_results/ctors/wchar_t/default.cc: Likewise.

From-SVN: r261597
libstdc++-v3/ChangeLog
libstdc++-v3/include/backward/strstream
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/include/bits/regex.h
libstdc++-v3/testsuite/22_locale/conversions/buffer/1.cc
libstdc++-v3/testsuite/22_locale/conversions/string/1.cc
libstdc++-v3/testsuite/28_regex/match_results/ctors/char/default.cc
libstdc++-v3/testsuite/28_regex/match_results/ctors/wchar_t/default.cc