r274209 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Thu Aug 8 10:18:00 GMT 2019
Author: redi
Date: Thu Aug 8 10:18:53 2019
New Revision: 274209
URL: https://gcc.gnu.org/viewcvs?rev=274209&root=gcc&view=rev
Log:
P0325R4 to_array from LFTS with updates
As an extension to what the standard requires, this also adds
conditional noexcept-specifiers to the std::to_array functions.
P0325R4 to_array from LFTS with updates
* include/experimental/array (to_array): Qualify call to __to_array.
* include/std/array (__cpp_lib_to_array, to_array): Define for C++20.
* include/std/version (__cpp_lib_to_array): Likewise.
* testsuite/23_containers/array/creation/1.cc: New test.
* testsuite/23_containers/array/creation/2.cc: New test.
* testsuite/23_containers/array/creation/3_neg.cc: New test.
* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
Use zero for dg-error line number.
Added:
trunk/libstdc++-v3/testsuite/23_containers/array/creation/
trunk/libstdc++-v3/testsuite/23_containers/array/creation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/array/creation/2.cc
- copied, changed from r274146, trunk/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc
trunk/libstdc++-v3/testsuite/23_containers/array/creation/3_neg.cc
- copied, changed from r274146, trunk/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/experimental/array
trunk/libstdc++-v3/include/std/array
trunk/libstdc++-v3/include/std/version
trunk/libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc
More information about the Gcc-cvs
mailing list