gcc/libstdc++-v3/testsuite/20_util/shared_ptr/cons
Jonathan Wakely b1bd915843 PR libstdc++/80229 restore support for shared_ptr<function type>
PR libstdc++/80229
	* include/bits/shared_ptr_base.h
	(__shared_ptr::_M_enable_shared_from_this_with): Change parameters to
	non-const and then use remove_cv to get unqualified type.
	* testsuite/20_util/enable_shared_from_this/members/const.cc: Don't
	cast away constness on object created const.
	* testsuite/20_util/shared_ptr/cons/80229.cc: New test.

From-SVN: r246520
2017-03-28 08:35:04 +01:00
..
39405.cc Update copyright years. 2017-01-01 13:07:43 +01:00
43820_neg.cc Update copyright years. 2017-01-01 13:07:43 +01:00
46910.cc Update copyright years. 2017-01-01 13:07:43 +01:00
51365.cc Update copyright years. 2017-01-01 13:07:43 +01:00
52924.cc Update copyright years. 2017-01-01 13:07:43 +01:00
55123.cc Update copyright years. 2017-01-01 13:07:43 +01:00
58659.cc Update copyright years. 2017-01-01 13:07:43 +01:00
58839.cc Update copyright years. 2017-01-01 13:07:43 +01:00
61036.cc Update copyright years. 2017-01-01 13:07:43 +01:00
79467.cc PR libstdc++/79467 use lvalues in is_callable check 2017-02-11 21:08:11 +00:00
80229.cc PR libstdc++/80229 restore support for shared_ptr<function type> 2017-03-28 08:35:04 +01:00
alias.cc Update copyright years. 2017-01-01 13:07:43 +01:00
alloc.cc Update copyright years. 2017-01-01 13:07:43 +01:00
alloc_min.cc Update copyright years. 2017-01-01 13:07:43 +01:00
array.cc Update copyright years. 2017-01-01 13:07:43 +01:00
auto_ptr.cc Update copyright years. 2017-01-01 13:07:43 +01:00
auto_ptr_neg.cc Update copyright years. 2017-01-01 13:07:43 +01:00
constexpr.cc Update copyright years. 2017-01-01 13:07:43 +01:00
copy.cc Update copyright years. 2017-01-01 13:07:43 +01:00
deduction.cc Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
default.cc Update copyright years. 2017-01-01 13:07:43 +01:00
move.cc Update copyright years. 2017-01-01 13:07:43 +01:00
noexcept_move_construct.cc Update copyright years. 2017-01-01 13:07:43 +01:00
nullptr.cc Update copyright years. 2017-01-01 13:07:43 +01:00
pointer.cc Update copyright years. 2017-01-01 13:07:43 +01:00
unique_ptr.cc Update copyright years. 2017-01-01 13:07:43 +01:00
unique_ptr_array.cc Update copyright years. 2017-01-01 13:07:43 +01:00
unique_ptr_deleter.cc Update copyright years. 2017-01-01 13:07:43 +01:00
unique_ptr_deleter_ref_1.cc Update copyright years. 2017-01-01 13:07:43 +01:00
unique_ptr_deleter_ref_2.cc Update copyright years. 2017-01-01 13:07:43 +01:00
unique_ptr_neg.cc Update copyright years. 2017-01-01 13:07:43 +01:00
void_neg.cc Update copyright years. 2017-01-01 13:07:43 +01:00
weak_ptr.cc Update copyright years. 2017-01-01 13:07:43 +01:00
weak_ptr_expired.cc Update copyright years. 2017-01-01 13:07:43 +01:00