r244668 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Fri Jan 20 00:07:00 GMT 2017
Author: redi
Date: Fri Jan 20 00:07:14 2017
New Revision: 244668
URL: https://gcc.gnu.org/viewcvs?rev=244668&root=gcc&view=rev
Log:
PR79156 fix std::__enable_shared_from_this extension
PR libstdc++/79156
* include/bits/shared_ptr_base.h (__enable_shared_from_this_base):
Fix return type.
(__enable_shared_from_this): Declare __shared_ptr as a friend.
* testsuite/ext/shared_ptr/1.cc: New test.
Added:
trunk/libstdc++-v3/testsuite/ext/shared_ptr/
trunk/libstdc++-v3/testsuite/ext/shared_ptr/1.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/shared_ptr_base.h
More information about the Libstdc++-cvs
mailing list