gcc/libstdc++-v3/testsuite/20_util/tuple
Daniel Krugler 9480716c80 tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere.
2011-09-12  Daniel Krugler  <daniel.kruegler@googlemail.com>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/tuple (_Head_base<>::_M_head, _Head_base<>::_M_tail,
	_Tuple_impl<>::_M_head, _Tuple_impl<>::_M_tail): Change to static
	constexpr functions; adjust everywhere.
	(__get_helper, get): Declare constexpr all three overloads.
	(tuple_cat): Declare constexpr; use late return type to improve
	error messages.
	* include/std/utility (__pair_get<>::__get, __pair_get<>::__move_get,
	__pair_get<>::__const_get, get): Declare all constexpr.
	* include/std/array (get): Likewise.
	* testsuite/20_util/tuple/creation_functions/constexpr.cc: Re-enable
	tuple_cat test.
	* testsuite/23_containers/array/constexpr_get.cc: New.
	* testsuite/20_util/tuple/element_access/constexpr_get.cc: Likewise.
	* testsuite/20_util/pair/constexpr_get.cc: Likewise.
	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
	line number.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r178799
2011-09-13 00:06:25 +00:00
..
comparison_operators prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
cons tuple (_Tuple_impl::_M_head, _M_tail): Mark constexpr. 2011-09-07 00:17:09 +00:00
creation_functions tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
element_access tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
requirements tuple: Mark more constructors constexpr. 2010-11-24 16:33:14 +00:00
48476.cc re PR libstdc++/48476 ([C++0x] conversion between std::tuple which have reference member is rejected) 2011-04-12 10:31:33 +00:00
cv_tuple_element.cc tuple (tuple_element<__i, [...]): Add. 2011-05-19 20:48:39 +00:00
cv_tuple_size.cc tuple (tuple_element<__i, [...]): Add. 2011-05-19 20:48:39 +00:00
moveable2.cc type_traits (__or_, __and_): Add trivial definitions for a single element. 2011-05-31 02:29:22 +00:00
moveable.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
noexcept_move_assign.cc tuple (tuple<>::operator=(tuple&&)): Specify as noexcept. 2011-05-19 17:20:22 +00:00
noexcept_swap.cc tuple (tuple<>::operator=(tuple&&)): Specify as noexcept. 2011-05-19 17:20:22 +00:00
swap.cc forward_list.h (splice_after): Use forward. 2009-07-31 22:26:32 -04:00
tuple_element.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tuple_size.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00