aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-08-08 11:18:53 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-08-08 11:18:53 +0100
commitcb0de9b60cdc362915e06dfe8a373205d93b232d (patch)
treeeb8ea5a352572f604143dbf7c15af88900098bb8 /gcc
parent0fddb1847019ceb570c6e0aea0ea779f1f9988cf (diff)
downloadgcc-cb0de9b60cdc362915e06dfe8a373205d93b232d.zip
gcc-cb0de9b60cdc362915e06dfe8a373205d93b232d.tar.gz
gcc-cb0de9b60cdc362915e06dfe8a373205d93b232d.tar.bz2
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. From-SVN: r274209
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions