This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36949] [C++0x] make_shared does not initialize enable_shared_from_this' internal shared_count
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2008 17:32:57 -0000
- Subject: [Bug libstdc++/36949] [C++0x] make_shared does not initialize enable_shared_from_this' internal shared_count
- References: <bug-36949-3237@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from paolo dot carlini at oracle dot com 2008-07-27 17:32 -------
Jonathan, can you have a look? If you can confirm the issue, is it just matter
of adding a call to __enable_shared_from_this_helper(_M_refcount, _M_ptr,
_M_ptr) to __shared_ptr(_Sp_make_shared_tag, _Alloc, _Args&&...) ??
PS: I'm going to adjust some arguments around from _Alloc to const _Alloc&...
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jwakely dot gcc at gmail dot
| |com, paolo dot carlini at
| |oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36949