Helper class to allow DelayedDestruction classes to be used with std::shared_ptr.
Declared in <folly/io/async/DelayedDestruction.h>
class Destructor;
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.
| Name | Description |
|---|---|
operator() | Requests destruction of the guarded object. |