Public Types | |
| typedef uint | size_type |
Public Member Functions | |
| Pool (size_type count) | |
| template<class... TArgs> | |
| void | emplace_back (TArgs &&...args) |
| void | push_back (const T &element) |
| void | push_back (T &&element) |
| T & | operator[] (size_type idx) |
| const T & | operator[] (size_type idx) const |
| size_type | size () const |
| bool | empty () const |
| void | clear () |
| T & | front () |
| const T & | front () const |
| T & | back () |
| const T & | back () const |
Public Attributes | |
| const size_type | _blockSize = (1 << shift) |
| const size_type | _blockMask = _blockSize - 1 |
Protected Member Functions | |
| void | alloc (size_type count) |
| void | free () |
Protected Attributes | |
| Common::Array< T * > | _blocks |
| size_type | _size = 0 |
| typedef uint Gamos::Pool< T, shift >::size_type |
Size type of the array.