#include <ChurnAllocator.h>
Classes | |
struct | Cache |
struct | rebind |
Public Types | |
using | Base = std::allocator< T > |
using | pointer = typename Base::pointer |
using | size_type = typename Base::size_type |
Public Member Functions | |
pointer | allocate (size_type n, const void *hint=0) |
churn_allocator ()=default | |
churn_allocator (churn_allocator const &)=default | |
churn_allocator (churn_allocator &&)=default | |
template<class U > | |
churn_allocator (const churn_allocator< U > &a) noexcept | |
void | deallocate (pointer p, size_type n) |
Static Public Member Functions | |
static Cache & | cache () |
Definition at line 6 of file ChurnAllocator.h.
using churn_allocator< T >::Base = std::allocator<T> |
Definition at line 9 of file ChurnAllocator.h.
using churn_allocator< T >::pointer = typename Base::pointer |
Definition at line 10 of file ChurnAllocator.h.
using churn_allocator< T >::size_type = typename Base::size_type |
Definition at line 11 of file ChurnAllocator.h.
|
default |
|
default |
|
default |
|
inlinenoexcept |
Definition at line 50 of file ChurnAllocator.h.
|
inline |
Definition at line 30 of file ChurnAllocator.h.
References trackerHits::c, churn_allocator< T >::Cache::cache, churn_allocator< T >::cache(), and churn_allocator< T >::Cache::gard.
|
inlinestatic |
Definition at line 18 of file ChurnAllocator.h.
Referenced by churn_allocator< T >::allocate(), and churn_allocator< T >::deallocate().
|
inline |
Definition at line 38 of file ChurnAllocator.h.
References trackerHits::c, churn_allocator< T >::Cache::cache, churn_allocator< T >::cache(), and churn_allocator< T >::Cache::gard.