|
Squid Web Cache master
|
STL Allocator that uses Squid memory pools for memory management. More...
#include <PoolingAllocator.h>
Classes | |
| struct | rebind |
Public Types | |
| using | value_type = Value |
Public Member Functions | |
| PoolingAllocator () noexcept | |
| template<class Other > | |
| PoolingAllocator (const PoolingAllocator< Other > &) noexcept | |
| value_type * | allocate (std::size_t n) |
| void | deallocate (value_type *vp, std::size_t n) noexcept |
| template<class U , class ... Args> | |
| void | construct (U *p, Args &&... args) |
| template<typename OtherValue > | |
| void | destroy (OtherValue *p) |
Definition at line 18 of file PoolingAllocator.h.
| using PoolingAllocator< Value >::value_type = Value |
Definition at line 22 of file PoolingAllocator.h.
|
inlinenoexcept |
Definition at line 23 of file PoolingAllocator.h.
|
inlinenoexcept |
Definition at line 24 of file PoolingAllocator.h.
|
inline |
Definition at line 25 of file PoolingAllocator.h.
References memAllocBuf().
|
inline |
Definition at line 33 of file PoolingAllocator.h.
|
inlinenoexcept |
Definition at line 26 of file PoolingAllocator.h.
References memFreeBuf().
|
inline |
Definition at line 34 of file PoolingAllocator.h.