array (array::at, [...]): Mark constexpr.
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 21 Jul 2011 05:48:03 +0000 (05:48 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 21 Jul 2011 05:48:03 +0000 (05:48 +0000)
commitbfef3a711a4ee9cd649f03555ffa2764e4e33d54
tree3307f0f8f04a21abe09deaa14276b8d1498d7353
parent1b97ec17bcaa096bb543a2d96b9290747c18399d
array (array::at, [...]): Mark constexpr.

2011-07-20  Benjamin Kosnik  <bkoz@redhat.com>
    Daniel Krugler  <daniel.kruegler@googlemail.com>

* include/std/array (array::at, array::operator[]): Mark constexpr.
* testsuite/23_containers/array/requirements/
constexpr_element_access.cc: Add.

Co-Authored-By: Daniel Krugler <daniel.kruegler@googlemail.com>
From-SVN: r176550
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/array
libstdc++-v3/testsuite/23_containers/array/requirements/constexpr_element_access.cc [new file with mode: 0644]