cptr::default_cage::resource

A std::pmr::memory_resource that allocates from this cage. It is never destroyed, so containers with static storage duration can still free into it during program exit, after the thread caches are gone: such frees go straight to the slabs.

Synopsis

Declared in <cptr/cage.hpp>

static
std::pmr::memory_resource*
resource() noexcept;