3.1.2. pooled.hpp

Full path: allocator/pooled.hpp

template<typename Alloc>
class pooled_allocator

An Allocator adaptor that retains a pool of unused permutations that has previously been released. Excess permutations are released. A copy of this allocator still refers to the same pool as the original.

using perm = typename Alloc::perm
using pointer = typename Alloc::pointer
using const_pointer = typename Alloc::const_pointer
~pooled_allocator()

If this is the last copy of this allocator, the pool is released.

std::size_t degree() const
pointer make()
pointer make_identity()
template<typename UPerm>
pointer copy(UPerm &&p)
void release(const_pointer p)