Implement the <array> part of C++20 p1032 Misc constexpr bits.
authorEdward Smith-Rowland <3dw4rd@verizon.net>
Fri, 15 Nov 2019 00:09:49 +0000 (00:09 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Fri, 15 Nov 2019 00:09:49 +0000 (00:09 +0000)
commit1c09b66494991a4ac63aaf34c0ca1081b887284c
tree29c046c238cc5f8827966dfc9c32bb8e4dd12c1a
parent2cc94aa8d817bab3af6ff5b41135ad30ee50f09b
Implement the <array> part of C++20 p1032 Misc constexpr bits.

2019-11-14  Edward Smith-Rowland  <3dw4rd@verizon.net>

Implement the <array> part of C++20 p1032 Misc constexpr bits.
* include/std/array (fill, swap): Make constexpr.
* testsuite/23_containers/array/requirements/constexpr_fill.cc: New.
* testsuite/23_containers/array/requirements/constexpr_swap.cc: New.

From-SVN: r278269
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/array
libstdc++-v3/testsuite/23_containers/array/requirements/constexpr_fill.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/array/requirements/constexpr_swap.cc [new file with mode: 0644]