gcc/libstdc++-v3/testsuite/20_util
Douglas Gregor c393ec5a87 stl_pair.h (__may_be_null_pointer_init): New.
2008-10-18  Douglas Gregor  <doug.gregor@gmail.com>

	* include/bits/stl_pair.h (__may_be_null_pointer_init): New.
	(pair::pair): Eliminate the redundant pair(U1&&, U2&&) constructor.
	Add lvalue pair<U1, U2> constructor to handle non-const pair lvalues.
	Remove the old variadic constructor, and instead provide several
	variadic constructors that avoid failing when attempting to
	initialize a pointer from a null pointer constant.
	* testsuite/20_util/pair/moveable.cc (test3): Add new tests with
	initialization of pointers from the null pointer constant.

From-SVN: r141214
2008-10-18 23:02:17 +00:00
..
add_lvalue_reference
add_rvalue_reference
aligned_storage
allocator
auto_ptr
bad_function_call testsuite_api.h (diamond_derivation<>::test): Expect ambiguity together with the standard exception classes. 2008-08-05 20:39:48 +00:00
clocks chrono: New, as per N2661. 2008-07-15 23:23:23 +00:00
common_type/requirements type_traits: Add common_type. 2008-07-08 11:59:22 +00:00
conditional/requirements
decay/requirements
duration 1.cc: Remove invalid check of uninitialized duration. 2008-10-10 12:33:26 +00:00
enable_if/requirements
enable_shared_from_this/requirements
forward
function_objects
has_nothrow_copy_constructor
has_nothrow_default_constructor
has_trivial_copy_constructor
has_trivial_default_constructor
hash
headers
identity
is_integral
is_lvalue_reference
is_reference
is_rvalue_reference
is_signed
is_unsigned
make_signed/requirements type_traits (__make_unsigned_selector<>): Consider enums of size smaller than short. 2008-09-01 23:24:09 +00:00
make_unsigned/requirements type_traits (__make_unsigned_selector<>): Consider enums of size smaller than short. 2008-09-01 23:24:09 +00:00
move
pair stl_pair.h (__may_be_null_pointer_init): New. 2008-10-18 23:02:17 +00:00
ratio libstdc++.exp (check_v3_target_stdint): New. 2008-07-08 01:11:18 +00:00
raw_storage_iterator/requirements
reference_wrapper 24803.cc: Avoid uninitialized warnings. 2008-10-10 14:58:48 +00:00
remove_reference
shared_ptr [multiple changes] 2008-09-05 17:12:02 +00:00
specialized_algorithms stl_algo.h (copy_n): Add in C++0x mode. 2008-06-29 11:08:26 +00:00
time_point chrono: New, as per N2661. 2008-07-15 23:23:23 +00:00
tuple tuple (tuple<>::swap): Implement swap for tuple as per DR 522 [Ready]. 2008-10-01 22:04:02 +00:00
unique_ptr unique_ptr.h (unique_ptr<_Tp[]>::template<typename U> void reset(U)): Add as deleted function, per DR 821 [Ready]. 2008-09-28 15:47:45 +00:00
weak_ptr
rel_ops.cc
temporary_buffer.cc