#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=nullptr) |
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 |
Referenced by churn_allocator< T >::deallocate().
|
default |
|
default |
|
inlinenoexcept |
Definition at line 50 of file ChurnAllocator.h.
|
inline |
Definition at line 30 of file ChurnAllocator.h.
References EnergyCorrector::c, churn_allocator< T >::Cache::cache, and churn_allocator< T >::Cache::gard.
|
inlinestatic |
|
inline |
Definition at line 38 of file ChurnAllocator.h.
References EnergyCorrector::c, churn_allocator< T >::Cache::cache, churn_allocator< T >::churn_allocator(), and churn_allocator< T >::Cache::gard.