member function template
std::pmr::polymorphic_allocator::allocate_object
- Header
<memory_resource>- Scope
std::pmr::polymorphic_allocator- cppreference
- std::pmr::polymorphic_allocator nearest page
Synopsis
template<class T>
[[nodiscard]] T* allocate_object(size_t n = 1);