This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/36949] [C++0x] make_shared does not initialize enable_shared_from_this' internal shared_count



------- Comment #5 from paolo at gcc dot gnu dot org  2008-07-28 23:29 -------
Subject: Bug 36949

Author: paolo
Date: Mon Jul 28 23:28:16 2008
New Revision: 138219

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138219
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/20_util/shared_ptr/creation/36949.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/tr1_impl/boost_shared_ptr.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36949


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]