proxygen
|
#include <DelayedDestructionBase.h>
Public Member Functions | |
IntrusivePtr ()=default | |
IntrusivePtr (const IntrusivePtr &)=default | |
IntrusivePtr (IntrusivePtr &&) noexcept=default | |
template<typename CopyAliasType , typename = typename std::enable_if< std::is_convertible<CopyAliasType*, AliasType*>::value>::type> | |
IntrusivePtr (const IntrusivePtr< CopyAliasType > ©) | |
template<typename CopyAliasType , typename = typename std::enable_if< std::is_convertible<CopyAliasType*, AliasType*>::value>::type> | |
IntrusivePtr (IntrusivePtr< CopyAliasType > &©) | |
IntrusivePtr (AliasType *dd) | |
template<typename CopyAliasType , typename Deleter , typename = typename std::enable_if< std::is_convertible<CopyAliasType*, AliasType*>::value>::type> | |
IntrusivePtr (const std::unique_ptr< CopyAliasType, Deleter > ©) | |
IntrusivePtr & | operator= (const IntrusivePtr &)=default |
IntrusivePtr & | operator= (IntrusivePtr &&) noexcept=default |
template<typename CopyAliasType , typename = typename std::enable_if< std::is_convertible<CopyAliasType*, AliasType*>::value>::type> | |
IntrusivePtr & | operator= (IntrusivePtr< CopyAliasType > copy) noexcept |
IntrusivePtr & | operator= (AliasType *dd) |
void | reset (AliasType *dd=nullptr) |
AliasType * | get () const |
AliasType & | operator* () const |
AliasType * | operator-> () const |
operator bool () const | |
Static Public Member Functions | |
template<typename... Args> | |
static IntrusivePtr< AliasType > | make (Args &&...args) |
Friends | |
template<typename CopyAliasType > | |
class | IntrusivePtr |
Additional Inherited Members | |
Private Member Functions inherited from folly::DelayedDestructionBase::DestructorGuard | |
DestructorGuard (DelayedDestructionBase *dd) | |
DestructorGuard (const DestructorGuard &dg) | |
DestructorGuard (DestructorGuard &&dg) noexcept | |
DestructorGuard & | operator= (DestructorGuard dg) noexcept |
DestructorGuard & | operator= (DelayedDestructionBase *dd) |
~DestructorGuard () | |
DelayedDestructionBase * | get () const |
operator bool () const | |
This smart pointer is a convenient way to manage a concrete DelayedDestructorBase child. It can replace the equivalent raw pointer and provide automatic memory management.
Definition at line 114 of file DelayedDestructionBase.h.
|
default |
|
default |
|
defaultnoexcept |
|
inline |
Definition at line 132 of file DelayedDestructionBase.h.
|
inline |
Definition at line 139 of file DelayedDestructionBase.h.
|
inlineexplicit |
Definition at line 142 of file DelayedDestructionBase.h.
|
inlineexplicit |
Definition at line 152 of file DelayedDestructionBase.h.
References folly::pushmi::__adl::noexcept(), folly::DelayedDestructionBase::DestructorGuard::operator=(), type, and value.
|
inline |
Definition at line 176 of file DelayedDestructionBase.h.
References folly::DelayedDestructionBase::DestructorGuard::get().
Referenced by folly::operator!=(), and folly::operator==().
|
inlinestatic |
Definition at line 120 of file DelayedDestructionBase.h.
References folly::pushmi::__adl::noexcept(), type, and value.
|
inlineexplicit |
Definition at line 188 of file DelayedDestructionBase.h.
|
inline |
Definition at line 180 of file DelayedDestructionBase.h.
|
inline |
Definition at line 184 of file DelayedDestructionBase.h.
|
default |
|
defaultnoexcept |
|
inlinenoexcept |
Definition at line 162 of file DelayedDestructionBase.h.
References folly::copy(), and folly::DelayedDestructionBase::DestructorGuard::operator=().
|
inline |
Definition at line 167 of file DelayedDestructionBase.h.
References folly::DelayedDestructionBase::DestructorGuard::operator=().
|
inline |
Definition at line 172 of file DelayedDestructionBase.h.
Definition at line 116 of file DelayedDestructionBase.h.