[Boost-bugs] [Boost C++ Libraries] #2126: make_shared doesn't work with enable_shared_from_this

Subject: [Boost-bugs] [Boost C++ Libraries] #2126: make_shared doesn't work with enable_shared_from_this
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-18 04:48:37


#2126: make_shared doesn't work with enable_shared_from_this
--------------------------------------------------------+-------------------
 Reporter: Theo Zourzouvillys <theo_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.36.0
Component: None | Version: Boost Release Branch
 Severity: Problem | Keywords:
--------------------------------------------------------+-------------------
 make_shared<T>() doesn't seem to initialise the enable_shared_from_this<T>
 internal weak pointer, causing an assert upon calling shared_from_this()
 for any instance initialised using make_shared instead of new.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2126>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC