Add C++20 Traits for [Un]bounded Arrays (P1357R1)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 6 Mar 2019 12:13:14 +0000 (12:13 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 6 Mar 2019 12:13:14 +0000 (12:13 +0000)
commit28d85efbfbcac8fc27e0ab4d4e27e5df8bdb402c
tree8ffbe0abfa0c8404f1cf9defd61e0211ffedd719
parentc24847a54abe6b93139f92318f254d1952315ba2
Add C++20 Traits for [Un]bounded Arrays (P1357R1)

 * include/std/type_traits [C++20] (is_bounded_array)
 (is_unbounded_array, is_bounded_array_v, is_unbounded_array_v):
 Define.
 * testsuite/20_util/is_bounded_array/requirements/
 explicit_instantiation.cc: New test.
 * testsuite/20_util/is_bounded_array/requirements/typedefs.cc: New
 test.
 * testsuite/20_util/is_bounded_array/value.cc: New test.
 * testsuite/20_util/is_unbounded_array/requirements/
 explicit_instantiation.cc: New test.
 * testsuite/20_util/is_unbounded_array/requirements/typedefs.cc: New
 * test.
 * testsuite/20_util/is_unbounded_array/value.cc: New test.

From-SVN: r269420
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/type_traits
libstdc++-v3/testsuite/20_util/is_bounded_array/requirements/explicit_instantiation.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/is_bounded_array/requirements/typedefs.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/is_bounded_array/value.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/is_unbounded_array/requirements/explicit_instantiation.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/is_unbounded_array/requirements/typedefs.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/is_unbounded_array/value.cc [new file with mode: 0644]