CbmRoot
|
Allocator for plain old data types. More...
#include <PODAllocator.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
T * | allocate (size_t size) |
void | deallocate (T *p_t, size_t) |
template<class... Args> | |
void | construct (T *obj, Args &&... args) |
bool | operator== (const PODAllocator &) const |
bool | operator!= (const PODAllocator &) const |
Allocator for plain old data types.
Custom allocator for plain old data types (POD) that does not initialize the allocated memory.
Definition at line 19 of file PODAllocator.h.
using cbm::algo::PODAllocator< T >::value_type = T |
Definition at line 27 of file PODAllocator.h.
|
inline |
Definition at line 29 of file PODAllocator.h.
References size().
|
inline |
Definition at line 33 of file PODAllocator.h.
|
inline |
Definition at line 30 of file PODAllocator.h.
|
inline |
Definition at line 40 of file PODAllocator.h.
|
inline |
Definition at line 39 of file PODAllocator.h.