Template Numerical Library version\ main:9e7b0f4
Loading...
Searching...
No Matches
TNL::Containers::UnorderedIndexedSet< Key, Index, Hash, KeyEqual, Allocator > Class Template Reference
Collaboration diagram for TNL::Containers::UnorderedIndexedSet< Key, Index, Hash, KeyEqual, Allocator >:

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

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