cptr::user_cage::allocate

Throws std::bad_alloc when the allocator returns nullptr.

Synopsis

Declared in <cptr/user_cage.hpp>

static
void*
allocate(
    std::size_t bytes,
    std::size_t align = alignof(std::max_align_t));