18 #ifndef COMMON_DEFAULT_INIT_ALLOC_H 19 #define COMMON_DEFAULT_INIT_ALLOC_H 32 template<
typename T,
typename A = std::allocator<T>>
45 typedef typename traits_::template rebind_alloc<U>
alloc_;
59 noexcept (std::is_nothrow_default_constructible<U>::value)
61 ::new ((
void *) ptr) U;
default_init_allocator< U, alloc_ > other
traits_::template rebind_alloc< U > alloc_
std::allocator_traits< A > traits_
void construct(U *ptr) noexcept(std::is_nothrow_default_constructible< U >::value)