MOS Source Code
Loading...
Searching...
No Matches
HashMap< Key, Value >::chain Struct Reference
Inheritance diagram for HashMap< Key, Value >::chain:
Collaboration diagram for HashMap< Key, Value >::chain:

Public Member Functions

 chain (const Key &new_key, const Value &new_value)
 chain (const Key &new_key, Value &&new_value)

Public Attributes

entry_type entry
chainnext

Additional Inherited Members

Static Public Attributes inherited from NamedType<"HashMap.Chain">
static constexpr mos::string_view type_name

Detailed Description

template<typename Key, typename Value>
struct mos::HashMap< Key, Value >::chain

Definition at line 25 of file hashmap.hpp.

Constructor & Destructor Documentation

◆ chain() [1/2]

template<typename Key, typename Value>
chain ( const Key & new_key,
const Value & new_value )
inlineexplicit

Definition at line 29 of file hashmap.hpp.

◆ chain() [2/2]

template<typename Key, typename Value>
chain ( const Key & new_key,
Value && new_value )
inlineexplicit

Definition at line 30 of file hashmap.hpp.

Member Data Documentation

◆ entry

template<typename Key, typename Value>
entry_type entry

Definition at line 27 of file hashmap.hpp.

Referenced by chain(), and chain().

◆ next

template<typename Key, typename Value>
chain* next

The documentation for this struct was generated from the following file: