tuple (tuple_element<__i, [...]): Add.
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 19 May 2011 20:48:39 +0000 (20:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 19 May 2011 20:48:39 +0000 (20:48 +0000)
commit664e12c1265280786f83d8fd1ec1ebbf50c153c0
treeaa4e6b793f8fc46762e5dce6559c2aacda23a1ed
parent173f26ae56c9d4ac260db7a3d7b3ee44b7d07bf2
tuple (tuple_element<__i, [...]): Add.

2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/tuple (tuple_element<__i, const _Tp>,
tuple_element<__i, volatile _Tp>, tuple_element<__i,
const volatile _Tp>, tuple_size<const _Tp>, tuple_size<volatile _Tp>,
tuple_size<const volatile _Tp>): Add.
* include/std/utility (tuple_size<std::pair<_Tp1, _Tp2>>): Tweak.
* include/std/array (tuple_size<array<_Tp, _Nm>>): Likewise.
* testsuite/20_util/tuple/cv_tuple_size.cc: New.
* testsuite/20_util/tuple/cv_tuple_element.cc: Likewise.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-warning
line number.

From-SVN: r173919
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/array
libstdc++-v3/include/std/tuple
libstdc++-v3/include/std/utility
libstdc++-v3/testsuite/20_util/tuple/cv_tuple_element.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/tuple/cv_tuple_size.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc