Referencestdallocatorallocate member function std::allocator::allocate Header<memory> also in <iosfwd>Draft[default.allocator.general]Scopestd::allocatorcppreferencestd::allocator::allocate ↗ Synopsis [[nodiscard]] constexpr T* allocate(size_t n);