gcc/libstdc++-v3/testsuite/20_util
Paolo Carlini 5aadb69b90 cons_overflow_neg.cc: Avoid -Wall warnings.
2010-08-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/20_util/ratio/cons/cons_overflow_neg.cc: Avoid -Wall
	warnings.

	* include/bits/shared_ptr.h (shared_ptr<>::shared_ptr
	(const shared_ptr<>&), shared_ptr(shared_ptr<>&&), weak_ptr<>::
	weak_ptr(const weak_ptr<>&), weak_ptr(const shared_ptr<>&)):
	Constrain appropriately via std::is_convertible, etc.
	* include/bits/shared_ptr_base.h: Likewise.
	* include/bits/unique_ptr.h (default_delete<>::
	default_delete(const default_delete<>&),
	unique_ptr<>::unique_ptr(unique_ptr<>&&), operator=(unique_ptr<>&&)):
	Likewise.

	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
	line numbers.
	* testsuite/20_util/shared_ptr/cons/43820.cc: Likewise.

	* include/bits/unique_ptr.h (unique_ptr<>::unique_ptr(auto_ptr<>&&)):
	Add.
	* include/std/memory: Adjust includes order.
	* testsuite/20_util/unique_ptr/cons/auto_ptr.cc: New.
	* testsuite/20_util/unique_ptr/cons/auto_ptr_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Minor tweaks.

From-SVN: r163053
2010-08-10 10:08:56 +00:00
..
add_lvalue_reference
add_rvalue_reference
addressof [multiple changes] 2010-05-20 22:35:49 +00:00
aligned_storage
allocator
auto_ptr re PR c++/20669 (Template candidates not listed in error message.) 2010-05-12 13:34:55 -04:00
bad_function_call
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
conditional/requirements
decay/requirements
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
enable_shared_from_this/requirements
forward
function * decl2.c (mark_used): Adjust error for use of deleted function. 2010-06-29 20:51:13 -04:00
function_objects
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
has_nothrow_default_constructor
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
has_trivial_default_constructor
hash
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
is_lvalue_reference
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
is_rvalue_reference
is_signed
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
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 [multiple changes] 2010-05-20 22:35:49 +00:00
remove_reference
shared_ptr cons_overflow_neg.cc: Avoid -Wall warnings. 2010-08-10 10:08:56 +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 cons_overflow_neg.cc: Avoid -Wall warnings. 2010-08-10 10:08:56 +00:00
weak_ptr cons_overflow_neg.cc: Avoid -Wall warnings. 2010-08-10 10:08:56 +00:00
rel_ops.cc
temporary_buffer.cc