Opened 9 years ago
Closed 9 years ago
#8573 closed Bugs (fixed)
lost doc link to enable_shared_from_this
Reported by: | Owned by: | Peter Dimov | |
---|---|---|---|
Milestone: | To Be Determined | Component: | smart_ptr |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: |
Description
In boost 1.53 I can't find any reference to the documentation forenable_shared_from_this. The documentation page exists:
http://www.boost.org/doc/libs/1_53_0/libs/smart_ptr/enable_shared_from_this.html
but I can't find any reference to it from anywhere in the smart_ptr / shared_ptr documentation. As late as boost 1.52 there was a reference to it in a note for the
template<class Y> explicit shared_ptr(Y * p);
constructor, but that note was removed in boost 1.53, and there doesn't seem to be any other reference to enable_shared_from_this. One of the places I expected to find a reference to enable_shared_from_this was the "Programming Techniques" page's entry "Obtaining a shared_ptr from a raw pointer", but I found no mention of it there through boost 1.53.
Change History (3)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
enable_shared_from_this is mentioned in the Programming Techniques page, but in a later entry: http://www.boost.org/doc/libs/1_53_0/libs/smart_ptr/sp_techniques.html#from_this
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [84506]) Document that constructors initialize enable_shared_from_this. Refs #8573.