template<uint32_t MaxKey, typename TValue, uint32_t EntriesPerPage = 4096>
PagedMap class

Public types

using Key = uint32_t
using Value = TValue

Constructors, destructors, conversion operators

PagedMap()
~PagedMap()
PagedMap(const PagedMap&) deleted

Public functions

auto operator=(const PagedMap&) -> PagedMap& deleted
auto operator[](Key key) const -> FORCE_INLINE Value
auto operator[](Key key) -> FORCE_INLINE Value*
auto get(Key key) const -> FORCE_INLINE Value
auto try_get_ptr(Key key) -> FORCE_INLINE Value*
auto try_get_ptr(Key key) const -> FORCE_INLINE const Value*
auto set(Key key, Value v) -> FORCE_INLINE void
auto findOrAdd(Key key) -> FORCE_INLINE Value&
auto erase(Key key) -> FORCE_INLINE void
void clear_all()
auto page_count() const -> uint32_t