Symphony Of Empires
|
#include <freelist.hpp>
Public Member Functions | |
size_t | add (T &e) |
void | remove (size_t index) |
T & | operator[] (size_t index) |
const T & | operator[] (size_t index) const |
T & | at (size_t index) |
const T & | at (size_t index) const |
template<typename F > | |
void | for_each (const F &lambda) const |
template<typename F > | |
void | for_each (const F &lambda) |
Public Attributes | |
std::vector< std::optional< T > > | data |
std::vector< size_t > | slots |
Definition at line 34 of file freelist.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 69 of file freelist.hpp.
|
inline |
Definition at line 82 of file freelist.hpp.
|
inline |
|
inline |
Definition at line 54 of file freelist.hpp.
|
inline |
Definition at line 59 of file freelist.hpp.
|
inline |
std::vector<std::optional<T> > Eng3D::Freelist< T >::data |
Definition at line 88 of file freelist.hpp.
std::vector<size_t> Eng3D::Freelist< T >::slots |
Definition at line 89 of file freelist.hpp.