gcc/libstdc++-v3/testsuite/20_util
Paolo Carlini 3abeaf8f89 re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0)
2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/42925
	* include/bits/unique_ptr.h (operator==(const unique_ptr<>&,
	nullptr_t), operator==(nullptr_t, const unique_ptr<>&),
	operator!=(const unique_ptr<>&, nullptr_t),
	operator!=(nullptr_t, const unique_ptr<>&)): Add.
	* include/bits/shared_ptr_base.h (operator==(const __shared_ptr<>&,
	nullptr_t), operator==(nullptr_t, const __shared_ptr<>&),
	operator!=(const __shared_ptr<>&, nullptr_t),
	operator!=(nullptr_t, const __shared_ptr<>&)): Likewise.
	* include/bits/shared_ptr.h (operator==(const shared_ptr<>&,
	nullptr_t), operator==(nullptr_t, const shared_ptr<>&),
	operator!=(const shared_ptr<>&, nullptr_t),
	operator!=(nullptr_t, const shared_ptr<>&)): Likewise.
	* testsuite/20_util/unique_ptr/comparison/42925.cc: New.
	* testsuite/20_util/shared_ptr/comparison/42925.cc: Likewise.
	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
	dg-error line numbers.

From-SVN: r163094
2010-08-11 08:49:47 +00:00
..
add_lvalue_reference
add_rvalue_reference
addressof
aligned_storage
allocator
auto_ptr
bad_function_call
bind
clocks
common_type/requirements
conditional/requirements
decay/requirements
declval/requirements type_traits (is_convertible): Use SFINAE. 2010-07-11 09:13:26 +00:00
duration
enable_if/requirements
enable_shared_from_this/requirements
forward
function
function_objects
has_nothrow_copy_assign
has_nothrow_copy_constructor
has_nothrow_default_constructor
has_trivial_copy_assign
has_trivial_copy_constructor
has_trivial_default_constructor
hash
headers
is_constructible
is_convertible
is_explicitly_convertible
is_integral
is_lvalue_reference
is_nothrow_constructible
is_pod
is_reference
is_rvalue_reference
is_signed
is_standard_layout
is_trivial
is_unsigned
make_signed/requirements type_traits (is_convertible): Use SFINAE. 2010-07-11 09:13:26 +00:00
make_unsigned/requirements type_traits (is_convertible): Use SFINAE. 2010-07-11 09:13:26 +00:00
move
owner_less
pair tuple (pack_arguments): Rename to forward_as_tuple and simplify, per US 98 and US 99. 2010-08-06 14:46:08 +00:00
ratio cons_overflow_neg.cc: Avoid -Wall warnings. 2010-08-10 10:08:56 +00:00
raw_storage_iterator/requirements
reference_wrapper
remove_reference
shared_ptr re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
specialized_algorithms
time_point
tuple re PR libstdc++/45228 ([C++0x] Can't copy-construct "tuple<int,int,int>" from "const tuple<int,int,int>" rvalue) 2010-08-10 07:17:44 +00:00
unique_ptr re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
weak_ptr re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
rel_ops.cc
temporary_buffer.cc