gcc/libstdc++-v3/testsuite/20_util
Jonathan Wakely 23df853421 functional (_Require): Move to ...
* include/std/functional (_Require): Move to ...
	* include/std/type_traits (_Require): ... here.
	* include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
	Handle unique_ptr for arrays or with custom pointer types.
	(__shared_ptr::__shared_ptr(unique_ptr<_Tp1, _Del>&&): Likewise.
	* include/bits/unique_ptr.h (unique_ptr<_Tp[], _Dp>): Use
	_Dp::pointer if defined. Implement proposed resolution of LWG 2118.
	* testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc: New.
	* testsuite/20_util/unique_ptr/assign/cv_qual.cc: New.
	* testsuite/20_util/unique_ptr/cons/array_convertible_neg.cc: New.
	* testsuite/20_util/unique_ptr/cons/convertible_neg.cc: New.
	* testsuite/20_util/unique_ptr/cons/cv_qual.cc: New.
	* testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: New.
	* testsuite/20_util/unique_ptr/requirements/pointer_type_array.cc: New.
	* testsuite/20_util/shared_ptr/cons/unique_ptr.cc: Adjust comments.
	* testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc:
	Likewise.
	* testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Likewise.
	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line number.
	* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
	* testsuite/20_util/default_delete/48631_neg.cc: Likewise.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
	* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
	dg-error text.
	* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Use
	different instantiations so static_assert fails for each.

From-SVN: r194651
2012-12-20 21:02:33 +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 typedefs.cc: Check rebind and improve propagate_on_container_move_assignment check. 2012-11-19 22:35:11 +00:00
allocator_traits invoke.cc: Avoid -Wall warnings. 2011-06-22 21:46:17 +00:00
auto_ptr PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
bad_function_call Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bind functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
common_type/requirements type_traits (common_type): Implement LWG 2141. 2012-10-24 20:37:05 +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 functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
default_delete functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
duration type_traits (common_type): Implement LWG 2141. 2012-10-24 20:37:05 +00:00
duration_cast syntax_option_type.cc: Avoid -Wall warnings. 2010-11-02 18:25:55 +00: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 re PR libstdc++/46869 (FAIL: 20_util/enable_shared_from_this/cons/constexpr.cc scan-assembler-not _ZNSt23enable_shared_from_thisIiEC2Ev) 2010-12-19 16:20:25 +00:00
forward move.h (move_if_noexcept): Mark constexpr. 2012-10-18 08:36:06 +00:00
function re PR libstdc++/55320 (Invalid delete with throwing copy-c'tor passed to std::function) 2012-11-14 23:33:01 +00:00
function_objects functional (_Mem_fn): Constrain function call operators to avoid ambiguities. 2012-11-28 01:42:25 +00: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 re PR libstdc++/52931 (std::hash shouldn't be defined for unknown types) 2012-04-11 11:27:50 +00:00
headers re PR c++/50920 (add a -std=c++11 option to the driver) 2011-10-31 15:34:14 -04:00
is_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_compound [multiple changes] 2011-04-13 22:52:45 +00:00
is_constructible type_traits (is_nothrow_destructible): Implement. 2012-04-23 21:34:06 +00:00
is_convertible [multiple changes] 2011-04-13 22:52:45 +00:00
is_copy_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_copy_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_default_constructible type_traits (is_nothrow_destructible): Implement. 2012-04-23 21:34:06 +00:00
is_destructible type_traits (is_nothrow_destructible): Implement. 2012-04-23 21:34:06 +00:00
is_floating_point limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
is_function [multiple changes] 2011-04-13 22:52:45 +00:00
is_fundamental [multiple changes] 2011-04-13 22:52:45 +00:00
is_integral limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
is_literal_type user.cfg.in: Remove tr1_impl headers. 2010-11-05 22:30:54 +00:00
is_lvalue_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
is_member_function_pointer [multiple changes] 2011-04-13 22:52:45 +00:00
is_member_object_pointer [multiple changes] 2011-04-13 22:52:45 +00:00
is_member_pointer [multiple changes] 2011-04-13 22:52:45 +00:00
is_move_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_move_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_nothrow_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_copy_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_nothrow_copy_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_default_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_nothrow_destructible type_traits (is_nothrow_destructible): Implement. 2012-04-23 21:34:06 +00:00
is_nothrow_move_assignable [multiple changes] 2011-05-19 10:30:20 +00:00
is_nothrow_move_constructible type_traits (is_nothrow_default_constructible, [...]): Add. 2011-04-19 00:10:53 +00:00
is_object [multiple changes] 2011-04-13 22:52:45 +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_scalar re PR libstdc++/46718 ([c++0x] nullptr_t must be scalar) 2010-11-30 12:52:38 +00:00
is_signed limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00: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_trivially_destructible re PR libstdc++/52702 ([C++11] std::is_trivially_destructible is missing) 2012-04-15 23:35:27 +00:00
is_unsigned limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
make_signed/requirements config.gcc: Match arm*-*-linux-* for ARM Linux/GNU. 2012-10-15 21:12:23 +00:00
make_unsigned/requirements config.gcc: Match arm*-*-linux-* for ARM Linux/GNU. 2012-10-15 21:12:23 +00:00
move Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
move_if_noexcept move.h (move_if_noexcept): Mark constexpr. 2012-10-18 08:36:06 +00:00
owner_less shared_ptr.h: Do not swap rvalues. 2009-06-23 23:33:17 +01:00
pair DR 1170 PR c++/51213 2012-07-18 21:36:50 -04:00
pointer_traits ptr_traits.h (pointer_traits::rebind): Make public. 2012-04-22 14:42:38 +01:00
ratio pt.c (tsubst_default_argument): Indicate where the default argument is being instantiated for. 2012-08-24 22:27:27 -04: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 re PR libstdc++/52317 (incorrect FSF address) 2012-02-21 10:55:54 +00:00
remove_reference Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
result_of type_traits (common_time): Provide "SFINAE-friendly" implementation. 2012-10-09 22:31:44 +00:00
scoped_allocator scoped_allocator (__outermost_alloc_traits): Define. 2012-10-19 17:16:11 +01:00
shared_ptr functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
specialized_algorithms range_access.cc: Fix copying permission statement. 2012-11-01 23:20:37 +00:00
steady_clock chrono: (system_clock::is_steady): Update to N3291 from is_monotonic. 2011-07-21 03:27:51 +00:00
system_clock 1.cc: Add dg-require-time. 2012-01-25 19:00:30 +00:00
time_point less_or_equal.cc: New. 2011-09-16 16:28:31 +00:00
time_point_cast libstdc++: N3126 draft support. 2010-11-01 22:35:28 -04:00
tuple move.h (move_if_noexcept): Mark constexpr. 2012-10-18 08:36:06 +00:00
typeindex typeindex: New. 2010-09-22 12:04:08 +00:00
underlying_type/requirements type_traits (struct underlying_type): Add. 2011-04-25 23:04:16 +00:00
unique_ptr functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
uses_allocator re PR libstdc++/53648 ([C++11] nested empty tuples) 2012-06-14 23:07:33 +01:00
weak_ptr re PR c++/50500 ([C++0x] [DR 1082] move constructor should cause copy constructor to be deleted, but still declared) 2011-10-18 13:39:15 -04: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 testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00