proxygen
|
#include <DelayedDestruction.h>
Public Member Functions | |
void | operator() (DelayedDestruction *dd) const |
Helper class to allow DelayedDestruction classes to be used with std::shared_ptr.
This class can be specified as the destructor argument when creating the shared_ptr, and it will destroy the guarded class properly when all shared_ptr references are released.
Definition at line 69 of file DelayedDestruction.h.
|
inline |
Definition at line 71 of file DelayedDestruction.h.
References folly::DelayedDestruction::destroy().