make_shared doesn't work with enable_shared_from_this
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.
Change History
(9)
Component: |
None → smart_ptr
|
Owner: |
set to Peter Dimov
|
Milestone: |
Boost 1.36.0 → Boost 1.37.0
|
Status: |
new → assigned
|
Version: |
Boost Release Branch → Boost 1.36.0
|
Milestone: |
Boost 1.37.0 → To Be Determined
|
Milestone: |
To Be Determined → Boost 1.39.0
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Is this ticket still open? The trunk version seems to fix the problem in my code.