cptr::cage::deallocate

Free memory from allocate(). The size is not needed: the span table records how every span is used.

Synopsis

Declared in <cptr/cage.hpp>

static
void
deallocate(void* p) noexcept;

Description

As with try_allocate(), the common case, a small block going back to this thread's cache, is inline and the rest out of line.