libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ allocate() [1/2]

template<typename _Alloc>
constexpr pointer std::allocator_traits< _Alloc >::allocate ( _Alloc & __a,
size_type __n )
inlinestaticnodiscardconstexpr

Allocate memory.

Parameters
__aAn allocator.
__nThe number of objects to allocate space for.

Calls a.allocate(n)

Definition at line 380 of file bits/alloc_traits.h.

Referenced by std::experimental::fundamentals_v2::pmr::__resource_adaptor_imp< typename allocator_traits< _Alloc >::template rebind_alloc< char > >::_M_allocate().

Here is the caller graph for this function: