openMSX
|
#include <SimpleHashSet.hh>
Public Member Functions | |
SimpleHashSet (Hasher hasher_={}, Equality equality_={}) | |
SimpleHashSet (const SimpleHashSet &)=delete | |
SimpleHashSet (SimpleHashSet &&)=delete | |
SimpleHashSet & | operator= (const SimpleHashSet &)=delete |
SimpleHashSet & | operator= (SimpleHashSet &&)=delete |
~SimpleHashSet () | |
void | reserve (size_t n) |
size_t | capacity () const |
size_t | size () const |
bool | empty () const |
template<typename Value2 > | |
bool | insert (Value2 &&val) |
template<typename Value2 > | |
bool | erase (const Value2 &val) |
template<typename Value2 > | |
Value * | find (const Value2 &val) const |
template<typename Value2 > | |
bool | contains (const Value2 &val) const |
Definition at line 45 of file SimpleHashSet.hh.
|
inline |
Definition at line 48 of file SimpleHashSet.hh.
|
delete |
|
delete |
|
inline |
Definition at line 58 of file SimpleHashSet.hh.
|
inline |
Definition at line 69 of file SimpleHashSet.hh.
Referenced by SimpleHashSet< Value, InvalidValue, Hasher, Equality >::insert(), and SimpleHashSet< Value, InvalidValue, Hasher, Equality >::reserve().
|
inline |
Definition at line 147 of file SimpleHashSet.hh.
|
inline |
Definition at line 78 of file SimpleHashSet.hh.
References SimpleHashSet< Value, InvalidValue, Hasher, Equality >::size().
|
inline |
Definition at line 106 of file SimpleHashSet.hh.
References p3.
|
inline |
Definition at line 140 of file SimpleHashSet.hh.
|
inline |
Definition at line 84 of file SimpleHashSet.hh.
References SimpleHashSet< Value, InvalidValue, Hasher, Equality >::capacity(), and SimpleHashSet< Value, InvalidValue, Hasher, Equality >::size().
|
delete |
|
delete |
|
inline |
Definition at line 63 of file SimpleHashSet.hh.
References SimpleHashSet< Value, InvalidValue, Hasher, Equality >::capacity(), and Math::ceil2().
|
inline |
Definition at line 74 of file SimpleHashSet.hh.
Referenced by SimpleHashSet< Value, InvalidValue, Hasher, Equality >::empty(), and SimpleHashSet< Value, InvalidValue, Hasher, Equality >::insert().