forked from boostorg/smart_ptr
Added a note that it's not necessary to initialize _internal_weak_this.
[SVN r31566]
This commit is contained in:
@ -58,6 +58,12 @@ public:
|
|||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Note: No, you don't need to initialize _internal_weak_this
|
||||||
|
//
|
||||||
|
// Please read the documentation, not the code
|
||||||
|
//
|
||||||
|
// http://www.boost.org/libs/smart_ptr/enable_shared_from_this.html
|
||||||
|
|
||||||
typedef T _internal_element_type; // for bcc 5.5.1
|
typedef T _internal_element_type; // for bcc 5.5.1
|
||||||
mutable weak_ptr<_internal_element_type> _internal_weak_this;
|
mutable weak_ptr<_internal_element_type> _internal_weak_this;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user