gcc/libstdc++-v3/include/std
Jonathan Wakely 7a9942f521 Implement C++20 constexpr changes to std::pair (P1032R1)
* include/bits/stl_pair.h (pair): Add _GLIBCXX20_CONSTEXPR to
	piecewise construction constructor, assignment operators, and swap.
	* include/std/tuple (pair::pair(piecewise_construct_t, tuple, tuple)):
	Add _GLIBCXX20_CONSTEXPR.
	(pair::pair(tuple, tuple, _Index_tuple, _Index_tuple)): Likewise.
	* testsuite/20_util/pair/constexpr_assign.cc: New test.
	* testsuite/20_util/pair/constexpr_swap.cc: New test.

From-SVN: r276154
2019-09-26 17:08:39 +01:00
..
algorithm Fix incorrect __cpp_lib_parallel_algorithm macro definitions 2019-06-12 21:16:03 +01:00
any Make any_cast compare typeinfo as well as function pointers 2019-05-23 15:13:18 +01:00
array Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
atomic Define std::atomic_ref and std::atomic<floating-point> for C++20 2019-07-11 20:43:25 +01:00
bit Add Doxygen comments to <bit> header 2019-07-31 15:38:50 +01:00
bitset Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
charconv LWG 3266. to_chars(bool) should be deleted 2019-09-10 10:08:20 +01:00
chrono Improve API docs for <chrono> and <ratio> 2019-05-07 23:46:53 +01:00
codecvt Update copyright years. 2019-01-01 13:31:55 +01:00
complex PR libstdc++/61761 fix std::proj for targets without C99 cproj 2019-05-01 01:08:36 +01:00
condition_variable PR libstdc++/41861 Add full steady_clock support to condition_variable 2019-09-04 23:43:29 +01:00
deque Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
execution Synchronize libstdc++ PSTL with upstream LLVM PSTL 2019-06-07 22:01:16 +00:00
filesystem Improve docs for C++17 Filesystem library 2019-05-02 16:46:38 +01:00
forward_list Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
fstream Miscellaneous API doc improvements 2019-05-02 16:46:50 +01:00
functional P1651R0 bind_front should not unwrap reference_wrapper 2019-08-06 16:57:55 +01:00
future LWG 2921 remove packaged_task constructors taking allocators 2019-05-23 22:40:56 +01:00
iomanip Update copyright years. 2019-01-01 13:31:55 +01:00
ios Update copyright years. 2019-01-01 13:31:55 +01:00
iosfwd Update copyright years. 2019-01-01 13:31:55 +01:00
iostream Update copyright years. 2019-01-01 13:31:55 +01:00
istream Update copyright years. 2019-01-01 13:31:55 +01:00
iterator Reduce header dependencies in <iterator> 2019-05-14 13:47:39 +01:00
limits P0482R5 char8_t: Standard library support 2019-02-19 02:54:42 +00:00
list Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
locale Update copyright years. 2019-01-01 13:31:55 +01:00
map Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
memory Qualify call to prevent ADL 2019-07-31 20:08:56 +01:00
memory_resource Implement polymorphic_allocator<byte> for C++20 (P0339R6) 2019-03-04 12:21:06 +00:00
mutex Simplify std::scoped_lock destructor 2019-06-12 15:52:06 +01:00
numbers Specialize std::numbers constants for __float128 2019-08-06 16:57:51 +01:00
numeric Fix markdown in Doxygen comments for std::reduce 2019-08-20 22:34:15 +01:00
optional Avoid unnecessary inclusion of <stdexcept> header 2019-06-06 16:34:56 +01:00
ostream Implement LWG 2221: formatted output operator for nullptr 2019-01-10 13:14:57 +00:00
queue Update copyright years. 2019-01-01 13:31:55 +01:00
random Update copyright years. 2019-01-01 13:31:55 +01:00
ratio Improve API docs for <chrono> and <ratio> 2019-05-07 23:46:53 +01:00
regex Update copyright years. 2019-01-01 13:31:55 +01:00
scoped_allocator Improve API docs for <memory> and <scoped_allocator> 2019-05-02 16:45:04 +01:00
set Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
shared_mutex Improve docs for mutexes 2019-05-02 16:46:42 +01:00
span Improve constraints for std::span constructors 2019-09-09 12:12:38 +01:00
sstream Update copyright years. 2019-01-01 13:31:55 +01:00
stack Update copyright years. 2019-01-01 13:31:55 +01:00
stdexcept Update copyright years. 2019-01-01 13:31:55 +01:00
streambuf Update copyright years. 2019-01-01 13:31:55 +01:00
string Define std::hash specializations for C++17 PMR strings 2019-04-03 10:47:47 +01:00
string_view Implement C++20 p1424 - 'constexpr' feature macro concerns... 2019-09-10 03:38:58 +00:00
system_error Fix reference to wrong class in comment 2019-05-04 16:52:52 +01:00
thread PR libstdc++/69724 avoid temporary in std::thread construction 2019-05-14 13:01:15 +01:00
tuple Implement C++20 constexpr changes to std::pair (P1032R1) 2019-09-26 17:08:39 +01:00
type_traits Implement std::common_reference for C++20 2019-09-10 17:28:27 +01:00
typeindex Update copyright years. 2019-01-01 13:31:55 +01:00
unordered_map Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
unordered_set Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
utility Implement C++20 p1424 - 'constexpr' feature macro concerns... 2019-09-10 03:38:58 +00:00
valarray Update copyright years. 2019-01-01 13:31:55 +01:00
variant Remove check for impossible condition in std::variant::index() 2019-09-24 15:17:08 +01:00
vector Remove include directives for deleted Profile Mode headers 2019-09-26 17:08:24 +01:00
version Implement C++20 p1424 - 'constexpr' feature macro concerns... 2019-09-10 03:38:58 +00:00