Return a functor that compares two value_type objects by key.

Synopsis

Declared in <bslstl_map.h>

Description

Return a functor for comparing two value_type objects by comparing their respective keys using key_comp(). Note that this comparator compares objects of type value_type (i.e., `bsl::pair<const KEY, VALUE>`).

Return Value

value‐comparison functor adapted from key_comp()

Created with MrDocs