bsl::multimap::value_compare::operator()

Return whether x is ordered before y by key.

Synopsis

Declared in <bslstl_multimap.h>

bool
operator()(
    value_type const& x,
    value_type const& y) const;

Description

Return true if the specified x object is ordered before the specified y object, as determined by the comparator supplied at construction, and false otherwise.

Return Value

true if x is ordered before y

Parameters

NameDescription
xfirst value to compare
ysecond value to compare