Template Numerical Library version\ main:c173bea
Loading...
Searching...
No Matches
TNL::Containers::IndexedSet< Key, Index, Compare, Allocator > Class Template Reference
Collaboration diagram for TNL::Containers::IndexedSet< Key, Index, Compare, Allocator >:

Public Types

using index_type = Index
 
using key_type = Key
 
using size_type = typename map_type::size_type
 
using value_type = typename map_type::value_type
 

Public Member Functions

void clear ()
 
size_type count (const Key &key) const
 
size_type erase (const Key &key)
 
bool find (const Key &key, Index &index) const
 
Index insert (const Key &key)
 
void print (std::ostream &str) const
 
size_type size () const
 

Protected Types

using map_type = std::map< Key, Index, Compare, Allocator >
 

Protected Attributes

map_type map
 

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