107 Map(std::initializer_list<std::pair<label, T>> map)
Forward iterator with non-const access.
A HashTable similar to std::unordered_map.
label size() const noexcept
The number of elements in table.
friend Ostream & operator(Ostream &, const HashTable< T, label, Hash< label > > &tbl)
void operator=(const this_type &rhs)
Copy assign.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A HashTable to objects of type <T> with a label key.
typename parent_type::iterator iterator
HashTable< T, label, Hash< label > > parent_type
The template instance used for the parent HashTable.
Map()
Default construct with default table capacity.
Map< T > this_type
The template instance used for this Map.
Map(this_type &&map)
Move construct.
void operator=(this_type &&rhs)
Move assignment.
Map(const label size)
Construct with given initial table capacity.
Map(std::initializer_list< std::pair< label, T > > map)
Construct from an initializer list.
Map(Istream &is)
Construct from Istream with default table capacity.
Map(const this_type &map)
Copy construct.
typename parent_type::const_iterator const_iterator
void operator=(const this_type &rhs)
Copy assignment.
A const_iterator for iterating across on values.