24 Jun
2013
24 Jun
'13
8:37 a.m.
On Mon, Jun 24, 2013 at 12:06 PM, Jonathan Wakely
I think there is a small documentation bug though, enable_shared_from_this talks about owning an object of type T, but the shared_ptr docs talk about owning a pointer. The docs for std::enable_shared_from_this correctly say "There shall be at least one shared_ptr instance p that owns &t." (as opposed to "owns t"). The & should be added to the Boost docs.
I think it is more correct to say "the pointer owns the [pointed to] object" rather than "the pointer owns the pointer to the object". If the citation you quoted is taken from the standard, then it probably should be corrected.