gcc/libstdc++-v3/testsuite
Ville Voutilainen c89f2d2468 Make optional conditionally trivially_{copy,move}_{constructible,assignable}
* include/std/optional (_Optional_payload): Fix the comment in
the class head and turn into a primary and one specialization.
(_Optional_payload::_M_engaged): Strike the NSDMI.
(_Optional_payload<_Tp, false>::operator=(const _Optional_payload&)):
New.
(_Optional_payload<_Tp, false>::operator=(_Optional_payload&&)):
Likewise.
(_Optional_payload<_Tp, false>::_M_get): Likewise.
(_Optional_payload<_Tp, false>::_M_reset): Likewise.
(_Optional_base_impl): Likewise.
(_Optional_base): Turn into a primary and three specializations.
(optional(nullopt)): Change the base init.
* testsuite/20_util/optional/assignment/8.cc: New.
* testsuite/20_util/optional/cons/trivial.cc: Likewise.
* testsuite/20_util/optional/cons/value_neg.cc: Adjust.

From-SVN: r256694
2018-01-15 13:32:24 +02:00
..
17_intro
18_support
19_diagnostics
20_util Make optional conditionally trivially_{copy,move}_{constructible,assignable} 2018-01-15 13:32:24 +02:00
21_strings
22_locale
23_containers 2018-01-10 François Dumont <fdumont@gcc.gnu.org> 2018-01-10 16:59:02 +00:00
24_iterators
25_algorithms
26_numerics
27_io Link with correct values-*.o files on Solaris (PR target/40411) 2018-01-12 09:52:53 +00:00
28_regex re PR libstdc++/83601 (std::regex_replace C++14 conformance issue: escaping in SED mode) 2018-01-14 00:48:30 +00:00
29_atomics
30_threads
abi
backward
config
data
decimal
experimental PR libstdc++/83626 handle ENOENT due to filesystem race 2018-01-05 18:02:18 +00:00
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters PR libstdc++/80276 fix template argument handling in type printers 2018-01-15 11:13:53 +00:00
libstdc++-xmethods
performance
special_functions
tr1
tr2
util
Makefile.am
Makefile.in