cptr::allocator::allocator

From an allocator for another element type in the same cage.

Synopsis

Declared in <cptr/allocator.hpp>

template<class U>
constexpr
allocator(allocator<U, Cage> const& other) noexcept;

Parameters

NameDescription
otherThe object to copy construct from