std::enable_shared_from_this< _Tp >
Base class allowing use of the member function shared_from_this.
- Provided by: libstdc++-12-doc (Version: 12.5.0-9ubuntu1)
- Source: gcc-12
- Report a bug
Base class allowing use of the member function shared_from_this.
#include <memory>
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
enable_shared_from_this (const enable_shared_from_this
&) noexcept
enable_shared_from_this & operator= (const enable_shared_from_this
&) noexcept
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
class std::enable_shared_from_this< _Tp >"Base class allowing use of the member function shared_from_this.
Since
Get a weak_ptr referring to the object that has *this as its base.
Since
Get a weak_ptr referring to the object that has *this as its base.
Since
Generated automatically by Doxygen for libstdc++ from the source code.