folly::IndexedMemPoolTraitsLazyRecycle

IndexedMemPool traits that implements the lazy lifecycle strategy. In this strategy elements are default-constructed the first time they are allocated, and destroyed when the pool itself is destroyed.

Synopsis

Declared in <folly/IndexedMemPool.h>

template<typename T>
using IndexedMemPoolTraitsLazyRecycle = IndexedMemPoolTraits<T, false, false>;