|
libhatchet
|
#include <hxflat_map.hpp>
Public Member Functions | |
| bool | operator== (const hxflat_map_value_t &x_) const |
| bool | operator< (const hxflat_map_value_t &x_) const |
Public Attributes | |
| const key_t_ & | key |
| mapped_t_ & | value |
hxflat_map_value_t - A proxy referencing the key and mapped value at a fixed position, returned by dereferencing an hxflat_map's iterator.
|
inline |
Returns true when this element is ordered before x, comparing keys first and then values with hxkey_equal and hxkey_less.
|
inline |
Compares the referenced key and value for equality with x, using hxkey_equal on both.
| const key_t_& hxflat_map_value_t< key_t_, mapped_t_ >::key |
The referenced key.
| mapped_t_& hxflat_map_value_t< key_t_, mapped_t_ >::value |
The referenced mapped value, allowing mutation.