|
mdds
|
#include <ref_pair.hpp>
Public Types | |
| using | first_type = std::add_lvalue_reference_t<T1> |
| using | second_type = std::add_lvalue_reference_t<T2> |
Public Attributes | |
| first_type | first |
| second_type | second |
Pair of references to two existing values. It is primarily used as the value type of an iterator that needs to reference a key-value pair stored in a container without copying it.
It is comparable with a std::pair that holds the corresponding decayed value types.