|
JPL Spatial
Sound spatialization and propagation library
|
#include <JPLSpatial/Memory/Memory.h>
Public Types | |
| using | Allocator = std::pmr::polymorphic_allocator< T > |
| using | Traits = std::allocator_traits< Allocator > |
Public Member Functions | |
| PmrDeleter ()=default | |
| PmrDeleter (std::pmr::memory_resource *resource) noexcept | |
| JPL_INLINE void | operator() (T *p) noexcept |
Specialization for PMR, since pmr allocator is not move-assignalbe, isntead of allocator, we store pointer to its memory resourece.
| using JPL::PmrDeleter< T >::Allocator = std::pmr::polymorphic_allocator<T> |
| using JPL::PmrDeleter< T >::Traits = std::allocator_traits<Allocator> |
|
default |
|
inlineexplicitnoexcept |
|
inlinenoexcept |