openMSX
|
#include <hash_set.hh>
Public Member Functions | |
Pool ()=default | |
Pool (Pool &&source) noexcept | |
Pool & | operator= (Pool &&source) noexcept |
~Pool () | |
Elem & | get (PoolIndex idx) |
const Elem & | get (PoolIndex idx) const |
template<typename V > | |
PoolIndex | create (V &&value, unsigned hash, PoolIndex nextIdx) |
void | destroy (PoolIndex idx) |
template<typename... Args> | |
PoolIndex | emplace (Args &&... args) |
unsigned | capacity () const |
void | reserve (unsigned count) |
Friends | |
void | swap (Pool &x, Pool &y) noexcept |
Definition at line 74 of file hash_set.hh.
|
default |
|
inlinenoexcept |
Definition at line 80 of file hash_set.hh.
References hash_set_impl::invalidIndex.
|
inline |
Definition at line 101 of file hash_set.hh.
|
inline |
Definition at line 159 of file hash_set.hh.
|
inline |
Definition at line 126 of file hash_set.hh.
References hash_set_impl::Pool< Value >::get(), and hash_set_impl::invalidIndex.
|
inline |
Definition at line 139 of file hash_set.hh.
References hash_set_impl::Pool< Value >::get().
|
inline |
Definition at line 149 of file hash_set.hh.
References hash_set_impl::Pool< Value >::get(), and hash_set_impl::invalidIndex.
|
inline |
Definition at line 109 of file hash_set.hh.
References hash_set_impl::PoolIndex::idx.
Referenced by hash_set_impl::Pool< Value >::create(), hash_set_impl::Pool< Value >::destroy(), hash_set_impl::Pool< Value >::emplace(), and hash_set_impl::Pool< Value >::get().
|
inline |
Definition at line 114 of file hash_set.hh.
References hash_set_impl::Pool< Value >::get().
|
inlinenoexcept |
Definition at line 90 of file hash_set.hh.
References hash_set_impl::invalidIndex.
|
inline |
Definition at line 164 of file hash_set.hh.
Definition at line 175 of file hash_set.hh.