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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
add_rvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
addressof [multiple changes] 2010-05-20 22:35:49 +00:00
aligned_storage Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
allocator Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
auto_ptr re PR c++/20669 (Template candidates not listed in error message.) 2010-05-12 13:34:55 -04:00
bad_function_call Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bind functional (_Bind<_Functor(_Bound_args...)>::__call): Rename const version to __call_c and remove _Sfinae template parameter. 2010-01-17 13:29:41 +00:00
clocks order_statistics_imp.hpp: Avoid -Wall warnings. 2010-06-08 00:45:02 +00:00
common_type/requirements type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
conditional/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
decay/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
declval/requirements type_traits (is_convertible): Use SFINAE. 2010-07-11 09:13:26 +00:00
duration libstdc++.exp: Set additional_prunes. 2010-06-15 17:05:22 -04:00
enable_if/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
enable_shared_from_this/requirements Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
forward forward_list.h (splice_after): Use forward. 2009-07-31 22:26:32 -04:00
function * decl2.c (mark_used): Adjust error for use of deleted function. 2010-06-29 20:51:13 -04:00
function_objects Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_nothrow_copy_assign type_traits (has_nothrow_assign): Rename to has_nothrow_copy_assign. 2010-06-08 17:50:54 +00:00
has_nothrow_copy_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_nothrow_default_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_trivial_copy_assign type_traits (has_nothrow_assign): Rename to has_nothrow_copy_assign. 2010-06-08 17:50:54 +00:00
has_trivial_copy_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
has_trivial_default_constructor Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
hash Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
headers libstdc++.exp: Set additional_prunes. 2010-06-15 17:05:22 -04:00
is_constructible type_traits (__is_constructible_helper1): Rename to __is_constructible_helper1... 2009-12-31 14:04:23 +00:00
is_convertible [multiple changes] 2009-12-30 23:22:58 +00:00
is_explicitly_convertible [multiple changes] 2009-12-30 23:22:58 +00:00
is_integral Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_lvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_nothrow_constructible type_traits (is_nothrow_constructible): Add. 2010-06-10 00:43:50 +00:00
is_pod testsuite_tr1.h (NType, [...]): Add. 2010-03-23 15:20:29 +00:00
is_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_rvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_signed Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_standard_layout testsuite_tr1.h (NType, [...]): Add. 2010-03-23 15:20:29 +00:00
is_trivial testsuite_tr1.h (NType, [...]): Add. 2010-03-23 15:20:29 +00:00
is_unsigned Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
owner_less shared_ptr.h: Do not swap rvalues. 2009-06-23 23:33:17 +01:00
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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
reference_wrapper [multiple changes] 2010-05-20 22:35:49 +00:00
remove_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
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 testsuite_rvalref.h: Remove obsolete macro using _GLIBCXX_TESTSUITE_ALLOW_RVALREF_ALIASING. 2009-09-01 10:19:11 +00:00
time_point Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
temporary_buffer.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00