Classes | |
| class | memory_resource |
A limited implementation of the std::pmr::memory_resource type. More... | |
| class | polymorphic_allocator |
Similar to a std::pmr::polymorphic_allocator. More... | |
| struct | pool_options |
| Options for memory pooling. More... | |
| struct | PoolMemoryOptions |
| Configurable options. More... | |
| class | PoolMemoryResource |
| Pool memory resource. More... | |
| class | StatsResource |
| Statistics memory resource. More... | |
Typedefs | |
| using | ssize_t = std::make_signed_t< std::size_t > |
| Signed size type. | |
Functions | |
| memory_resource * | get_default_resource () noexcept |
| Gets the default memory resource. More... | |
| memory_resource * | new_delete_resource () noexcept |
| Gets the new & delete using memory resource. More... | |
| memory_resource * | null_memory_resource () noexcept |
| Gets the "null" memory resource. More... | |
| bool | operator!= (const memory_resource &a, const memory_resource &b) noexcept |
| Operator not-equals support. More... | |
| template<class T1 , class T2 > | |
| bool | operator!= (const pmr::polymorphic_allocator< T1 > &lhs, const pmr::polymorphic_allocator< T2 > &rhs) noexcept |
| Inequalality operator support. | |
| constexpr bool | operator!= (const PoolMemoryOptions &lhs, const PoolMemoryOptions &rhs) noexcept |
| Operator not-equals support. | |
| std::ostream & | operator<< (std::ostream &os, const PoolMemoryResource::Stats &stats) |
Provide output streaming support for PoolMemoryResource::Stats. | |
| bool | operator== (const memory_resource &a, const memory_resource &b) noexcept |
| Operator equals support. More... | |
| template<class T1 , class T2 > | |
| bool | operator== (const pmr::polymorphic_allocator< T1 > &lhs, const pmr::polymorphic_allocator< T2 > &rhs) noexcept |
| Equalality operator support. | |
| constexpr bool | operator== (const PoolMemoryOptions &lhs, const PoolMemoryOptions &rhs) noexcept |
| Operator equals support. | |
| memory_resource * | set_default_resource (memory_resource *r) noexcept |
| Sets the default memory resource. More... | |
Name space for polymorphic memory resource related PlayRho names.
Name space for organizing custom allocator funtionality & supporting standard libraries that don't yet provide the memory_resource header file.
|
noexcept |
Gets the default memory resource.
Referenced by playrho::pmr::polymorphic_allocator< T >::polymorphic_allocator().
|
noexcept |
Gets the new & delete using memory resource.
|
noexcept |
Gets the "null" memory resource.
|
inlinenoexcept |
Operator not-equals support.
|
inlinenoexcept |
Operator equals support.
|
noexcept |
Sets the default memory resource.
get_default_resource returns the value given.