]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/36949 ([C++0x] make_shared does not initialize enable_shared_from_thi...
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 28 Jul 2008 23:28:16 +0000 (23:28 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 28 Jul 2008 23:28:16 +0000 (23:28 +0000)
commit08df5d3e97297b19cb864922d367f4fe9b53bed2
tree20cc65da4d739c33baa9749eba0954a635aa7c36
parent4d2ad64c5bc72eb10fc6fa28950d38a36cff1d29
re PR libstdc++/36949 ([C++0x] make_shared does not initialize enable_shared_from_this' internal shared_count)

2008-07-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/36949
* include/tr1_impl/boost_shared_ptr.h
(__shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...): Call
__enable_shared_from_this_helper.
* testsuite/20_util/shared_ptr/creation/36949.cc: New.

From-SVN: r138219
libstdc++-v3/ChangeLog
libstdc++-v3/include/tr1_impl/boost_shared_ptr.h
libstdc++-v3/testsuite/20_util/shared_ptr/creation/36949.cc [new file with mode: 0644]