tuple (__add_c_ref, [...]): Remove.
authorJonathan Wakely <jwakely@redhat.com>
Wed, 14 May 2014 22:16:35 +0000 (23:16 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 14 May 2014 22:16:35 +0000 (23:16 +0100)
commitaf222e7486b241fa6e345712eb9abb73f2ed0e27
tree758393268d4d70cf65038d5e28bad933fa5b201b
parent88fe5e91e476d1602f8b19ba0b35820324da8b81
tuple (__add_c_ref, [...]): Remove.

* include/std/tuple (__add_c_ref, __add_ref, __add_r_ref): Remove.
(__tuple_element_t): Define.
(tuple_element): Use __tuple_element_t.
(__cv_tuple_size): Define.
(tuple_size<cv _Tp>): Use __cv_tuple_size.
(get, __get_helper, __get_helper2): Remove uses of __add_ref etc.
(get<_Tp>(tuple<_Types...>&&)): Use forward instead of move.
(__tuple_compare): Remove size check, re-order parameters.
(operator==, operator<): Use static_assert to check requirements.
* include/std/functional (__volget): use __tuple_element_t.
* testsuite/20_util/tuple/element_access/get_by_type.cc: Test rvalues.
* testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.

From-SVN: r210447
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/functional
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/element_access/get_by_type.cc
libstdc++-v3/testsuite/20_util/uses_allocator/cons_neg.cc