SPH
Public Attributes | List of all members
FlatMap< TKey, TValue, TLess >::Element Struct Reference

Element of the container. More...

#include <FlatMap.h>

Public Attributes

TKey key
 
TValue value
 

Detailed Description

template<typename TKey, typename TValue, typename TLess = std::less<TKey>>
struct FlatMap< TKey, TValue, TLess >::Element

Element of the container.

Definition at line 22 of file FlatMap.h.

Member Data Documentation

◆ key

template<typename TKey , typename TValue , typename TLess = std::less<TKey>>
TKey FlatMap< TKey, TValue, TLess >::Element::key
Todo:
we definitely don't want to expose mutable key when iterating. Possibly create two structs – PrivateElement and Element – and just reinterpret_cast ? (kinda crazy)

Definition at line 25 of file FlatMap.h.

◆ value

template<typename TKey , typename TValue , typename TLess = std::less<TKey>>
TValue FlatMap< TKey, TValue, TLess >::Element::value

Definition at line 26 of file FlatMap.h.


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