folly::erased_unique_ptr

erased_unique_ptr

Synopsis

Declared in <folly/Memory.h>

using erased_unique_ptr = std::unique_ptr<void, void(*)(void*)>;

Description

A type-erased smart-ptr with unique ownership to a heap-allocated object.