Used to pass a temporary buffer to:
- Containers that use user-passed buffer as an initial storage (still can grow).
- Zone allocator that would use the temporary buffer as a first block.
constexpr Temporary(
const Temporary& other)
noexcept = default
constexpr Temporary(
void*
data,
size_t size)
noexcept
template<typename T = void>
constexpr T*
data()
const noexcept constexpr size_t size()
const noexcept
template<typename T = void>
T* Support::Temporary::data() constconstexprconstexprnoexcept◆
Returns the data storage.
size_t Support::Temporary::size() constconstexprconstexprnoexcept◆
Returns the data storage size in bytes.