|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
#include <tpl_hash.H>
Public Types | |
| typedef HashMapTable< Key, Data, Cmp > | Base |
Public Member Functions | |
| void | add (std::initializer_list< Key > lk, std::initializer_list< Data > ld) |
| HashMap () | |
| HashMap (std::initializer_list< Key > lk, std::initializer_list< Data > ld) | |
| template<template< typename T > class Container = DynList> | |
| HashMap (const Container< Key > &c, std::initializer_list< Data > ld) | |
| const Data & | operator[] (const Key &key) const |
| Data & | operator[] (const Key &key) |
| void | clear () |
| Empties the container. | |
| bool | is_empty () const noexcept |
| Checks if the container is empty. | |
Static Public Member Functions | |
| template<typename... Items> requires requires (Items &&... items) { HashMap ::template build_as< HashMap >(std::forward<Items>(items)...); } | |
| static HashMap | build (Items &&... items) |
Definition at line 110 of file tpl_hash.H.
| typedef HashMapTable<Key, Data, Cmp> Aleph::HashMap< Key, Data, HashMapTable, Cmp >::Base |
Definition at line 112 of file tpl_hash.H.
|
inline |
Definition at line 127 of file tpl_hash.H.
|
inline |
Definition at line 129 of file tpl_hash.H.
References Aleph::HashMap< Key, Data, HashMapTable, Cmp >::add().
|
inline |
Definition at line 136 of file tpl_hash.H.
References ah_range_error_if.
|
inline |
Definition at line 116 of file tpl_hash.H.
References ah_range_error_if.
Referenced by Aleph::HashMap< Key, Data, HashMapTable, Cmp >::HashMap().
|
inlinestatic |
Definition at line 114 of file tpl_hash.H.
Referenced by TEST().
|
inline |
|
inlinenoexcept |
Checks if the container is empty.
| none |
Definition at line 164 of file tpl_hash.H.
Referenced by Aleph::Transposition_Table< Key, Entry, HashMapTable, Cmp, ReplacePolicy >::is_empty().
|
inline |
Definition at line 148 of file tpl_hash.H.
|
inline |
Definition at line 148 of file tpl_hash.H.