class template
std::enable_shared_from_this
- Header
<memory>- Draft
- [util.smartptr.enab]
- Scope
std- cppreference
- std::enable_shared_from_this
Synopsis
template<class T>
class enable_shared_from_this;Member functions
| Name | Declaration |
|---|---|
shared_from_thismember function · 2 overloads | shared_ptr<T> shared_from_this() +1 more |
weak_from_thismember function · 2 overloads | weak_ptr<T> weak_from_this() +1 more |
Protected Member functions
| Name | Declaration |
|---|---|
enable_shared_from_thisconstructor · 2 overloads | enable_shared_from_this() +1 more |
~enable_shared_from_thisdestructor | ~enable_shared_from_this() |
operator=operator | enable_shared_from_this& operator=(const enable_shared_from_this& other) |