diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2011-09-07 00:17:09 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2011-09-07 00:17:09 +0000 |
commit | a7d0c94ef130470a037addff4c6e2e6eb33861f3 (patch) | |
tree | 3314cafd20ffc16d0f32b5a0d9fa97282e73e9ba /gcc | |
parent | 7b50d234f6da17e41e9d89843cd597707748c061 (diff) | |
download | gcc-a7d0c94ef130470a037addff4c6e2e6eb33861f3.zip gcc-a7d0c94ef130470a037addff4c6e2e6eb33861f3.tar.gz gcc-a7d0c94ef130470a037addff4c6e2e6eb33861f3.tar.bz2 |
tuple (_Tuple_impl::_M_head, _M_tail): Mark constexpr.
2011-09-06 Benjamin Kosnik <bkoz@redhat.com>
* include/std/tuple (_Tuple_impl::_M_head, _M_tail): Mark constexpr.
(tuple(tuple&&)): Same.
(tuple(const tuple<_UElements...>& __in)): Same.
(tuple(tuple<_UElements...>&& __in)): Same.
(tuple_cat(const tuple<_TElements...>&, const tuple<_UElements...>&)):
Same.
(get): Same.
* include/std/array: Consolidate array::data usage.
* testsuite/23_containers/array/requirements/constexpr_functions.cc:
Remove extra include.
* testsuite/20_util/tuple/creation_functions/constexpr.cc: New.
* testsuite/20_util/tuple/cons/constexpr-2.cc: Add tests.
* testsuite/20_util/tuple/cons/constexpr-3.cc: Same.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust line numbers.
From-SVN: r178620
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions