22template <
class T,
class Base = std::allocator<T>>
23struct no_init_allocator : Base {
24 typedef std::allocator_traits<Base> Base_traits;
25 template <
class U>
struct rebind {
26 typedef no_init_allocator<U, typename Base_traits::template rebind_alloc<U>> other;
34 void construct(P*)
noexcept {}
36 template<
class P,
class...U>
void construct(P*p, U&&...u) {
37 Base_traits::construct(*(Base*)
this, p, std::forward<U>(u)...);