Template Numerical Library: TNL::Containers::UnorderedIndexedSet< Key, Index, Hash, KeyEqual, Allocator > Class Template Reference

Template Numerical Library version\ main:16b9213d5

Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
TNL::Containers::UnorderedIndexedSet< Key, Index, Hash, KeyEqual, Allocator > Class Template Reference
Collaboration diagram for TNL::Containers::UnorderedIndexedSet< Key, Index, Hash, KeyEqual, Allocator >:
[legend]

## 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 file:

- src/TNL/Containers/UnorderedIndexedSet.h