gcc/libstdc++-v3/include
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
..
backward
bits tuple: Use everywhere std::size_t... 2011-09-10 00:47:02 +00:00
c
c_compatibility
c_global Use Solaris prototypes if possible (PR libstdc++-v3/1773) 2011-08-18 14:59:47 +00:00
c_std cmath (fmod(_Tp, _Up)): Add. 2011-08-12 15:40:01 +00:00
debug hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Remove noexcept, the move constructor allocates memory... 2011-09-01 15:45:20 +00:00
decimal
ext PR c++/33255 - Support -Wunused-local-typedefs warning 2011-09-08 15:54:24 +02:00
parallel
precompiled
profile hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Remove noexcept, the move constructor allocates memory... 2011-09-01 15:45:20 +00:00
std tuple (_Head_base<>::_M_head, [...]): Change to static constexpr functions; adjust everywhere. 2011-09-13 00:06:25 +00:00
tr1 cmath: Extend/update comment. 2011-08-18 16:56:55 +00:00
Makefile.am
Makefile.in