member function · 2 overloads
std::enable_shared_from_this::shared_from_this
- Header
<memory>- Draft
- [util.smartptr.enab]
- Scope
std::enable_shared_from_this- cppreference
- std::enable_shared_from_this::shared_from_this
Overloads
- (1)
constexpr shared_ptr<T> shared_from_this(); - (2)
constexpr shared_ptr<const T> shared_from_this() const;