proxygen
|
#include <IndexedMemPool.h>
Public Member Functions | |
IndexedMemPoolRecycler (Pool *pool) | |
IndexedMemPoolRecycler (const IndexedMemPoolRecycler< Pool > &rhs)=default | |
IndexedMemPoolRecycler & | operator= (const IndexedMemPoolRecycler< Pool > &rhs)=default |
void | operator() (typename Pool::value_type *elem) const |
Public Attributes | |
Pool * | pool |
This is a stateful Deleter functor, which allows std::unique_ptr to track elements allocated from an IndexedMemPool by tracking the associated pool. See IndexedMemPool::allocElem.
Definition at line 40 of file IndexedMemPool.h.
|
inlineexplicit |
|
default |
|
inline |
|
default |
Pool* folly::detail::IndexedMemPoolRecycler< Pool >::pool |
Definition at line 545 of file IndexedMemPool.h.