gcc/libstdc++-v3/testsuite
Ville Voutilainen 2ae2d394c1 Implement LWG 2842, in_place_t check for optional::optional(U&&) should decay U.
Implement LWG 2842, in_place_t check for optional::optional(U&&)
should decay U.
* include/std/optional (_Optional_base(in_place_t, _Args&&...)):
Constrain.
(_Optional_base(in_place_t, initializer_list<_Up>, _Args&&...)):
Turn the int-pack constraint hack into a saner bool.
(_Optional_base<_Tp, false>::_Optional_base(in_place_t, _Args&&...)):
Constrain.
(_Optional_base<_Tp, false>::_Optional_base(in_place_t,
initializer_list<_Up>, _Args&&...)):
Turn the int-pack constraint hack into a saner bool.
(optional(_Up&&)): Constrain against in_place_t.
(optional(in_place_t, _Args&&...)): Constrain.
(constexpr optional(in_place_t, initializer_list<_Up>, _Args&&...)):
Turn the int-pack constraint hack into a saner bool.
* testsuite/20_util/optional/cons/value_neg.cc: Add a test for
a type that is constructible from in_place.

From-SVN: r243966
2016-12-29 21:19:59 +02:00
..
17_intro Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
18_support Disable test using std::set_unexcepted for C++17 2016-12-07 15:22:37 +00:00
19_diagnostics PR 71444 define more error constants for mingw-w64 2016-12-21 13:09:13 +00:00
20_util Implement LWG 2842, in_place_t check for optional::optional(U&&) should decay U. 2016-12-29 21:19:59 +02:00
21_strings [libstdc++][testsuite] XFAIL tests relying on long double-to-string conversions on broken newlib 2016-12-12 15:47:47 +00:00
22_locale Replace dynamic exception specifications in testsuite 2016-12-07 15:22:51 +00:00
23_containers Add assertion to _Rb_tree::erase to check for end iterators 2016-12-16 18:13:09 +00:00
24_iterators container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
25_algorithms parallel_algorithm_assert2.cc: Move dg-do run first. 2016-12-08 17:35:24 -05:00
26_numerics * testsuite/26_numerics/headers/cmath/hypot.cc: XFAIL on AIX. 2016-12-01 14:02:34 -05:00
27_io [libstdc++][testsuite] XFAIL tests relying on long double-to-string conversions on broken newlib 2016-12-12 15:47:47 +00:00
28_regex Replace use of C++14 std::exchange in C++11 testcase 2016-12-07 15:22:57 +00:00
29_atomics PR78465 Remove runtime tests for <atomic> macros 2016-11-22 16:31:19 +00:00
30_threads Replace dynamic exception specifications in testsuite 2016-12-07 15:22:51 +00:00
abi Skip C tests if test flags include C++ options 2016-08-02 14:32:26 +01:00
backward container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
config Update copyright years. 2016-01-04 15:30:50 +01:00
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
experimental Remove stray character at end of dg-do directive 2016-12-12 14:32:23 +00:00
ext Replace dynamic exception specifications in testsuite 2016-12-07 15:22:51 +00:00
lib re PR libstdc++/68838 (AIX 32 bit wchar_t testsuite failures) 2016-11-29 12:50:27 -05:00
libstdc++-abi Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-dg Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
libstdc++-prettyprinters PR59170 make pretty printers check for singular iterators 2016-12-15 14:13:36 +00:00
libstdc++-xmethods Add GDB XMethods for shared_ptr and unique_ptr<T[]> 2016-12-15 12:45:42 +00:00
performance Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
special_functions container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
tr1 DR 374 - specialization in outer namespace 2016-11-13 01:51:23 -05:00
tr2 container_access.cc: Remove 'test' variables. 2016-10-13 19:37:45 +00:00
util Fix handling of explicit function template arguments with TTPs. 2016-12-21 14:38:44 -05:00
Makefile.am Makefile.in ($(lang_checks_parallelized)): Fix detection of -j argument. 2016-11-22 17:33:43 +01:00
Makefile.in Makefile.in ($(lang_checks_parallelized)): Fix detection of -j argument. 2016-11-22 17:33:43 +01:00