Public Member Functions | |
void | clear () |
template<typename... Args> | |
T * | construct (Args &&...args) |
ObjectPool () | |
ObjectPool (std::size_t blockSize_) | |
void | reset (std::size_t newBlockSize) |
~ObjectPool () | |
Private Types | |
typedef std::allocator_traits< Alloc > | alloc_traits |
Private Attributes | |
Alloc | alloc |
std::vector< T * > | allocations |
std::size_t | blockSize = 1 |
T * | currentBlock = nullptr |
std::size_t | currentIndex = 1 |
Definition at line 90 of file earcut.hpp.
|
private |
Definition at line 126 of file earcut.hpp.
|
inline |
Definition at line 92 of file earcut.hpp.
|
inline |
Definition at line 93 of file earcut.hpp.
|
inline |
Definition at line 96 of file earcut.hpp.
|
inline |
Definition at line 119 of file earcut.hpp.
|
inline |
Definition at line 100 of file earcut.hpp.
|
inline |
Definition at line 110 of file earcut.hpp.
|
private |
Definition at line 125 of file earcut.hpp.
|
private |
Definition at line 124 of file earcut.hpp.
|
private |
Definition at line 123 of file earcut.hpp.
|
private |
Definition at line 121 of file earcut.hpp.
|
private |
Definition at line 122 of file earcut.hpp.