gcc/libstdc++-v3/testsuite/20_util/shared_ptr/comparison
Paolo Carlini 355e71b9df shared_ptr.h (operator>, [...]): Add, per DR 1401.
2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
	per DR 1401.
	(operator==, operator!=, operator<): Fix per the letter of DR 1401.
	* include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
	* include/bits/unique_ptr.h (operator==, operator!=, operator<,
	operator<=, operator>, operator>=): Fix per the letter of DR 1401.
	* testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
	* testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.

From-SVN: r171293
2011-03-22 15:15:03 +00:00
..
42925.cc re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
cmp.cc re PR libstdc++/46689 (FAIL: 20_util/shared_ptr/comparison/cmp.cc) 2010-11-28 01:32:57 +00:00
dr1401.cc shared_ptr.h (operator>, [...]): Add, per DR 1401. 2011-03-22 15:15:03 +00:00
less.cc shared_ptr.h: Do not swap rvalues. 2009-06-23 23:33:17 +01:00