|
proxygen
|
#include <ReadMostlySharedPtr.h>
Public Member Functions | |
| ~ReadMostlyMainPtrDeleter () noexcept | |
| template<typename T > | |
| void | add (ReadMostlyMainPtr< T, RefCount > ptr) noexcept |
Private Attributes | |
| std::vector< RefCount * > | refCounts_ |
| std::vector< folly::Function< void()> > | decrefs_ |
This can be used to destroy multiple ReadMostlyMainPtrs at once.
Definition at line 32 of file ReadMostlySharedPtr.h.
|
inlinenoexcept |
Definition at line 372 of file ReadMostlySharedPtr.h.
References folly::detail::ReadMostlySharedPtrCore< T, RefCount >::decref().
|
inlinenoexcept |
Definition at line 380 of file ReadMostlySharedPtr.h.
References ptr.
Referenced by folly::detail::SingletonHolder< T >::preDestroyInstance(), and TEST_F().
|
private |
Definition at line 393 of file ReadMostlySharedPtr.h.
|
private |
Definition at line 392 of file ReadMostlySharedPtr.h.