PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::SparseSet< T, Index > Class Template Reference

Classes

struct  Entry

Public Types

using value_type = T
using index_type = Index

Public Member Functions

bool contains (const Index id) const
T & insert_or_assign (const Index id, T value)
template<typename... Args>
T & emplace (const Index id, Args &&... args)
bool erase (const Index id)
T & at (const Index id)
const T & at (const Index id) const
std::vector< T > values () const
std::vector< Index > ids () const
void clear ()
std::size_t size () const
bool empty () const
auto begin ()
auto end ()
auto begin () const
auto end () const

The documentation for this class was generated from the following file: