diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-04-21 22:18:51 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-04-21 22:18:51 +0100 |
commit | d76925e46fad09fc9be6759cbf1f23c9a8344dbf (patch) | |
tree | 1b7ff4a666d5b11aef097be62965d78e56f52a7a /gcc/fortran/scanner.c | |
parent | 81e07d422c5026ed66e3ad72a75d0d2385be1c0a (diff) | |
download | gcc-d76925e46fad09fc9be6759cbf1f23c9a8344dbf.zip gcc-d76925e46fad09fc9be6759cbf1f23c9a8344dbf.tar.gz gcc-d76925e46fad09fc9be6759cbf1f23c9a8344dbf.tar.bz2 |
libstdc++: Support arrays in std::is_nothrow_constructible (PR 94149)
The front end now supports parenthesized initialization for arrays in
C++20, so extend std::is_nothrow_constructible to support them too.
gcc/testsuite:
PR c++/94149
* g++.dg/cpp2a/paren-init24.C: Fix FIXMEs.
libstdc++-v3:
PR c++/94149
* include/std/type_traits (__is_nt_constructible_impl): Add partial
specializations for bounded arrays with non-empty initializers.
* testsuite/20_util/is_nothrow_constructible/value_c++20.cc: New test.
Diffstat (limited to 'gcc/fortran/scanner.c')
0 files changed, 0 insertions, 0 deletions