gcc/libstdc++-v3/include
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
..
backward Update copyright years. 2017-01-01 13:07:43 +01:00
bits PR libstdc++/80229 restore support for shared_ptr<function type> 2017-03-28 08:35:04 +01:00
c Update copyright years. 2017-01-01 13:07:43 +01:00
c_compatibility Update copyright years. 2017-01-01 13:07:43 +01:00
c_global Define std::byte for C++17 (P0298R3) 2017-03-09 15:42:02 +00:00
c_std Update copyright years. 2017-01-01 13:07:43 +01:00
debug Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental Ensure <experimental/iterator> includes <iterator> 2017-02-23 18:25:22 +00:00
ext PR libstdc++/62045 fix O(N) insertion in pd_ds binary heap 2017-03-15 20:11:48 +00:00
parallel Update copyright years. 2017-01-01 13:07:43 +01:00
precompiled Update copyright years. 2017-01-01 13:07:43 +01:00
profile Remove unused include from Profile Mode header 2017-01-13 17:20:23 +00:00
std Implement LWG 2686, std::hash<error_condition>, for C++17 2017-03-23 19:40:16 +00:00
tr1 PR libstdc++/70607 revert recent changes to <tr1/complex> 2017-01-26 19:40:02 +00:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.am PR78905 define _GLIBCXX_RELEASE macro 2017-01-19 16:40:46 +00:00
Makefile.in PR78905 define _GLIBCXX_RELEASE macro 2017-01-19 16:40:46 +00:00