C/C++ API Reference
Loading...
Searching...
No Matches
pw::allocator::PmrAllocator Class Referencefinal

Overview

Implementation of C++'s abstract polymorphic allocator interface that uses a pw::Allocator.

Note that despite is name, this is NOT a pw::Allocator itself. Instead, it can be used in pw::pmr containers, such as pw::pmr::vector.

See also https://en.cppreference.com/w/cpp/memory/polymorphic_allocator.

Inheritance diagram for pw::allocator::PmrAllocator:

Public Types

using Base = pw::pmr::polymorphic_allocator< std::byte >
 

Public Member Functions

 PmrAllocator (Allocator &allocator)
 
Allocatorallocator ()
 

The documentation for this class was generated from the following file: