90template <
typename T,
typename Allocator>
117 using Allocator::Allocator;
132 void construct(U* ptr)
noexcept(std::is_nothrow_default_constructible_v<U>);
147 template<
typename U,
typename... Args>
153template<
typename T,
typename Allocator>
158 ::new(
static_cast<void*
>(ptr)) U;
161template<
typename T,
typename Allocator>
162template <
typename U,
typename... Args>
166 std::allocator_traits<Allocator>::construct(
static_cast<Allocator&
>(*
this),
167 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 module containing miscellaneous general-use facilities that don't fit into any other Flow module...
Satisfies Allocator concept optional requirement for rebinding to another type U: the result is a Def...