tuple (tuple_element<__i, [...]): Add.
[gcc.git] / libstdc++-v3 / ChangeLog
index 344d1853d878806c2125a06c03495800120f8fd4..f6b9159d235ada73d7a04391fe0add686e72dc95 100644 (file)
@@ -1,3 +1,37 @@
+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.
+
+2011-05-19  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/std/tuple (tuple<>::operator=(tuple&&)): Specify as
+        noexcept.
+       (__get_helper): Likewise.
+       (_Head_base<>::_M_head, _Tuple_impl<>::_M_head, _M_tail): Likewise.
+       * include/bits/move.h (swap): Likewise.
+       * include/bits/algorithmfwd.h (swap): Adjust.
+       * include/bits/stl_pair.h (pair<>::operator=(pair&&)): Spec noexcept.
+       * testsuite/util/testsuite_allocator.h (uneq_allocator): In C++0x
+       mode, prefer delete to access control to make the type not copy
+       assignable.
+       * testsuite/util/testsuite_tr1.h: Add test classes.
+       * testsuite/20_util/tuple/noexcept_swap.cc: New.
+       * testsuite/20_util/tuple/noexcept_move_assign.cc: Likewise.
+       * testsuite/25_algorithms/reverse/moveable.cc: Likewise, prefer
+       delete to access control.
+       * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise.
+       * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-warning
+       line numbers.
+
 2011-05-19  Daniel Krugler  <daniel.kruegler@googlemail.com>
 
        * testsuite/util/testsuite_tr1.h: Add test classes.