87template <
typename T,
typename Allocator>
94 using Allocator::Allocator;
109 void construct(U* ptr)
noexcept(std::is_nothrow_default_constructible_v<U>);
124 template<
typename U,
typename... Args>
130template<
typename T,
typename Allocator>
135 ::new(
static_cast<void*
>(ptr)) U;
138template<
typename T,
typename Allocator>
139template <
typename U,
typename... Args>
143 std::allocator_traits<Allocator>::construct(
static_cast<Allocator&
>(*
this),
144 ptr, std::forward<Args>(args)...);
Allocator adaptor (useful for, e.g., vector that skips zero-filling) that turns a value-initializatio...
void construct(U *ptr) noexcept(std::is_nothrow_default_constructible_v< U >)
Satisfies Allocator concept optional requirement for in-place construction: specialized for 0-args,...
Flow-IPC module containing miscellaneous general-use facilities that ubiquitously used by ~all Flow-I...