gcc/libstdc++-v3/testsuite/20_util/bind
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
..
35569.cc re PR libstdc++/24803 ([c++0x] reference_wrapper and pointers to member functions) 2010-01-12 00:53:30 +00:00
38889.cc re PR libstdc++/24803 ([c++0x] reference_wrapper and pointers to member functions) 2010-01-12 00:53:30 +00:00
42593.cc re PR libstdc++/24803 ([c++0x] reference_wrapper and pointers to member functions) 2010-01-12 00:53:30 +00:00
45924.cc re PR libstdc++/45924 ([C++0x] bind<R>(x)(y, z) fails) 2010-10-07 01:17:24 +01:00
48698.cc 48698.cc (g): Fix return type, avoid -Wall warning. 2011-10-04 21:42:43 +00:00
49058_1.cc [multiple changes] 2011-05-23 00:05:24 +00:00
49058_2.cc [multiple changes] 2011-05-23 00:05:24 +00:00
all_bound.cc
conv_result.cc
cv_quals.cc re PR libstdc++/45893 ([C++0x] [DR 817] Finish updating std::bind to rvalue refs) 2010-10-08 01:44:12 +01:00
cv_quals_2.cc [multiple changes] 2011-05-23 00:05:24 +00:00
cv_quals_3.cc functional (is_placeholder, [...]): Add partial specializations for cv-qualified types. 2011-11-22 00:40:47 +00:00
move.cc re PR libstdc++/45893 ([C++0x] [DR 817] Finish updating std::bind to rvalue refs) 2010-10-08 01:44:12 +01:00
nested.cc
placeholders.cc
ref.cc
ref2.cc 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
ref_neg.cc functional (_Require): Move to ... 2012-12-20 21:02:33 +00:00
socket.cc socket.cc: Use variable and remove attribute. 2011-06-22 23:46:14 +01:00