libstdc++
|
#include <memory>
Public Member Functions | |
shared_ptr< _Tp > | shared_from_this () |
shared_ptr< const _Tp > | shared_from_this () const |
weak_ptr< _Tp > | weak_from_this () noexcept |
weak_ptr< const _Tp > | weak_from_this () const noexcept |
Protected Member Functions | |
enable_shared_from_this (const enable_shared_from_this &) noexcept | |
enable_shared_from_this & | operator= (const enable_shared_from_this &) noexcept |
Friends | |
const enable_shared_from_this * | __enable_shared_from_this_base (const __shared_count<> &, const enable_shared_from_this *__p) |
template<typename , _Lock_policy > | |
class | __shared_ptr |
Base class allowing use of the member function shared_from_this
.
Definition at line 918 of file bits/shared_ptr.h.
|
inlineconstexprprotectednoexcept |
Definition at line 921 of file bits/shared_ptr.h.
|
inlineprotectednoexcept |
Definition at line 923 of file bits/shared_ptr.h.
|
inlineprotected |
Definition at line 929 of file bits/shared_ptr.h.
|
inlineprotectednoexcept |
Definition at line 926 of file bits/shared_ptr.h.
|
inline |
Definition at line 933 of file bits/shared_ptr.h.
|
inline |
Definition at line 937 of file bits/shared_ptr.h.
|
inlinenoexcept |
Get a weak_ptr
referring to the object that has *this
as its base.
Definition at line 950 of file bits/shared_ptr.h.
|
inlinenoexcept |
Get a weak_ptr
referring to the object that has *this
as its base.
Definition at line 946 of file bits/shared_ptr.h.
|
friend |
Definition at line 963 of file bits/shared_ptr.h.
|
friend |
Definition at line 968 of file bits/shared_ptr.h.