Template Numerical Library version\ main:0c33d623
|
Public Types | |
using | const_iterator = typename map_type::const_iterator |
using | hasher = Hash |
using | index_type = Index |
using | iterator = typename map_type::iterator |
using | key_equal = KeyEqual |
using | key_type = Key |
using | size_type = typename map_type::size_type |
using | value_type = typename map_type::value_type |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
size_type | count (const Key &key) const |
iterator | end () |
const_iterator | end () const |
size_type | erase (const Key &key) |
bool | find (const Key &key, Index &index) const |
Index | insert (const Key &key) |
Index | insert (Key &&key) |
void | print (std::ostream &str) const |
void | reserve (size_type count) |
size_type | size () const |
std::pair< Index, bool > | try_insert (const Key &key) |
Protected Types | |
using | map_type = std::unordered_map< Key, Index, Hash, KeyEqual, Allocator > |
Protected Attributes | |
map_type | map |