Przejdź do głównej zawartości

std::pmr::polymorphic_allocator<T>::resource

Since C++17
std::pmr::memory_resource* resource() const;

Returns the memory resource pointer used by this polymorphic allocator.

Parameters

(none)

Return Value

The memory resource pointer used by this polymorphic allocator.

std::pmr::polymorphic_allocator<T>::resource

Since C++17
std::pmr::memory_resource* resource() const;

Returns the memory resource pointer used by this polymorphic allocator.

Parameters

(none)

Return Value

The memory resource pointer used by this polymorphic allocator.