gcc/libstdc++-v3/include
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
..
backward Prepare shared_ptr for array support 2016-10-20 13:07:45 +01:00
bits Reuse Doxygen comments for map::erase overloads 2016-12-16 18:13:20 +00:00
c Update copyright years. 2016-01-04 15:30:50 +01:00
c_compatibility Don't define guard macros when doing #include_next in math.h and stdlib.h 2016-02-01 11:13:40 +00:00
c_global Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
c_std libstdc++/77795 Only declare ::gets for C++98 and C++11 2016-09-30 19:28:53 +01:00
debug Delete std::swap for debug mode array 2016-12-08 13:25:03 +00:00
decimal Update copyright years. 2016-01-04 15:30:50 +01:00
experimental Replace uses of C++14 remove_cv_t alias in C++11 header 2016-12-07 15:23:01 +00:00
ext random.tcc: Fix usage of _OutputIteratorConcept. 2016-12-24 14:13:58 +00:00
parallel PR71856 try to fix Parallel Mode assertions again 2016-12-08 12:08:14 +00:00
precompiled Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
profile Add C++17 constexpr to debug and profile mode arrays 2016-08-23 16:54:57 +01:00
std Implement LWG 2842, in_place_t check for optional::optional(U&&) should decay U. 2016-12-29 21:19:59 +02:00
tr1 Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am Split <functional> into smaller pieces 2016-10-21 16:32:25 +01:00
Makefile.in Split <functional> into smaller pieces 2016-10-21 16:32:25 +01:00