Public Member Functions | |
ObjectPool () | |
ObjectPool (std::size_t blockSize_) | |
~ObjectPool () | |
void | clear () |
template<typename... Args> | |
T * | construct (Args &&... args) |
void | reset (std::size_t newBlockSize) |
Private Types | |
using | alloc_traits = typename std::allocator_traits< Alloc > |
Private Attributes | |
Alloc | alloc |
std::vector< T * > | allocations |
std::size_t | blockSize = 1 |
T * | currentBlock = nullptr |
std::size_t | currentIndex = 1 |
Definition at line 108 of file mapbox_earcut.h.
|
private |
Definition at line 144 of file mapbox_earcut.h.
|
inline |
Definition at line 110 of file mapbox_earcut.h.
|
inline |
Definition at line 111 of file mapbox_earcut.h.
|
inline |
Definition at line 114 of file mapbox_earcut.h.
|
inline |
Definition at line 137 of file mapbox_earcut.h.
|
inline |
Definition at line 118 of file mapbox_earcut.h.
|
inline |
Definition at line 128 of file mapbox_earcut.h.
|
private |
Definition at line 143 of file mapbox_earcut.h.
|
private |
Definition at line 142 of file mapbox_earcut.h.
|
private |
Definition at line 141 of file mapbox_earcut.h.
|
private |
Definition at line 139 of file mapbox_earcut.h.
|
private |
Definition at line 140 of file mapbox_earcut.h.