A sparse vector keeping objects at a stable memory location. More...
#include <ArenaMapKey.h>
Public Member Functions | |
bool | isValid () const |
template<typename U > | |
ArenaMapKey< U > | cast_to () |
template<typename U > | |
bool | operator== (ArenaMapKey< U > other) const |
Static Public Attributes | |
static constexpr uint32_t | MaxGenerations = (uint32_t(1) << 31) - 1 |
static constexpr uint32_t | MaxIndex = 0xffffffff |
Friends | |
struct | ArenaMap< T > |
A sparse vector keeping objects at a stable memory location.
All operations return an SC::ArenaMapKey that can be used to recover values in constant time.
T | Type of items kept in this Arena |