MOS Source Code
Loading...
Searching...
No Matches
HashMap< Key, Value, TAllocator >::chain Struct Reference
+ Inheritance diagram for HashMap< Key, Value, TAllocator >::chain:
+ Collaboration diagram for HashMap< Key, Value, TAllocator >::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, typename TAllocator = mos::default_allocator>
struct mos::HashMap< Key, Value, TAllocator >::chain

Definition at line 25 of file hashmap.hpp.

Constructor & Destructor Documentation

◆ chain() [1/2]

template<typename Key, typename Value, typename TAllocator = mos::default_allocator>
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, typename TAllocator = mos::default_allocator>
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, typename TAllocator = mos::default_allocator>
entry_type entry

Definition at line 27 of file hashmap.hpp.

Referenced by chain(), and chain().

◆ next

template<typename Key, typename Value, typename TAllocator = mos::default_allocator>
chain* next

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