std::flat_map<Key,T,Compare,KeyContainer,MappedContainer>::value_compare

std::flat_map::value_compare is a function object that compares objects of type std::flat_map::const_reference (a pair of references to the stored key/value) by comparing the first components (i.e. keys) of the passed pairs.

# Declarations

class value_compare;

(since C++23)

# Parameters

# Return value

comp(lhs.first, rhs.first)