Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::FlatMap< Key, T, Compare >::basic_iterator< IsConst >::reference Struct Reference

Proxy returned by operator*: references into the parallel arrays. More...

#include <tpl_flat_map.H>

Public Attributes

const Key & first
 The entry's key.
 
std::conditional_t< IsConst, const T &, T & > second
 The entry's value.
 

Detailed Description

template<typename Key, typename T, class Compare = Aleph::less<Key>>
template<bool IsConst>
struct Aleph::FlatMap< Key, T, Compare >::basic_iterator< IsConst >::reference

Proxy returned by operator*: references into the parallel arrays.

Definition at line 281 of file tpl_flat_map.H.

Member Data Documentation

◆ first

template<typename Key , typename T , class Compare = Aleph::less<Key>>
template<bool IsConst>
const Key& Aleph::FlatMap< Key, T, Compare >::basic_iterator< IsConst >::reference::first

The entry's key.

Definition at line 283 of file tpl_flat_map.H.

◆ second

template<typename Key , typename T , class Compare = Aleph::less<Key>>
template<bool IsConst>
std::conditional_t<IsConst, const T &, T &> Aleph::FlatMap< Key, T, Compare >::basic_iterator< IsConst >::reference::second

The entry's value.

Definition at line 284 of file tpl_flat_map.H.


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