Project
Loading...
Searching...
No Matches
o2::pmr::SpectatorAllocator< T > Class Template Reference

#include <MemoryResources.h>

Inherits boost::container::pmr::polymorphic_allocator< T >.

Public Types

using propagate_on_container_move_assignment = std::true_type
 

Public Member Functions

template<class U >
void construct (U *)
 
template<typename U >
void destroy (U *)
 
T * allocate (size_t size)
 
void deallocate (T *ptr, size_t size)
 

Detailed Description

template<typename T>
class o2::pmr::SpectatorAllocator< T >

Definition at line 186 of file MemoryResources.h.

Member Typedef Documentation

◆ propagate_on_container_move_assignment

template<typename T >
using o2::pmr::SpectatorAllocator< T >::propagate_on_container_move_assignment = std::true_type

Definition at line 190 of file MemoryResources.h.

Member Function Documentation

◆ allocate()

template<typename T >
T * o2::pmr::SpectatorAllocator< T >::allocate ( size_t  size)
inline

Definition at line 207 of file MemoryResources.h.

◆ construct()

template<typename T >
template<class U >
void o2::pmr::SpectatorAllocator< T >::construct ( U *  )
inline

Definition at line 196 of file MemoryResources.h.

◆ deallocate()

template<typename T >
void o2::pmr::SpectatorAllocator< T >::deallocate ( T *  ptr,
size_t  size 
)
inline

Definition at line 208 of file MemoryResources.h.

◆ destroy()

template<typename T >
template<typename U >
void o2::pmr::SpectatorAllocator< T >::destroy ( U *  )
inline

Definition at line 203 of file MemoryResources.h.


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