r278331 - in /trunk/libstdc++-v3: ChangeLog inc...

emsr@gcc.gnu.org emsr@gcc.gnu.org
Sat Nov 16 03:16:00 GMT 2019


Author: emsr
Date: Sat Nov 16 03:16:35 2019
New Revision: 278331

URL: https://gcc.gnu.org/viewcvs?rev=278331&root=gcc&view=rev
Log:
2019-11-15  Edward Smith-Rowland  <3dw4rd@verizon.net>

	Implement the <tuple> part of C++20 p1032 Misc constexpr bits.
	* include/std/tuple (_Head_base, _Tuple_impl(allocator_arg_t,...)
	(_M_assign, tuple(allocator_arg_t,...), _Inherited, operator=, _M_swap)
	(swap, pair(piecewise_construct_t,): Constexpr.
	* (__uses_alloc0::_Sink::operator=, __uses_alloc_t): Constexpr.
	* testsuite/20_util/tuple/cons/constexpr_allocator_arg_t.cc: New test.
	* testsuite/20_util/tuple/constexpr_swap.cc : New test.
	* testsuite/20_util/uses_allocator/69293_neg.cc: Extra error for C++20.
	* testsuite/20_util/uses_allocator/cons_neg.cc: : Extra error for C++20.


Added:
    trunk/libstdc++-v3/testsuite/20_util/tuple/cons/constexpr_allocator_arg_t.cc
    trunk/libstdc++-v3/testsuite/20_util/tuple/constexpr_swap.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/tuple
    trunk/libstdc++-v3/testsuite/20_util/uses_allocator/69293_neg.cc
    trunk/libstdc++-v3/testsuite/20_util/uses_allocator/cons_neg.cc



More information about the Libstdc++-cvs mailing list