Freigeben über


multiset::key_compare

A type that provides a function object that can compare two sort keys to determine the relative order of two elements in the multiset.

typedef Compare key_compare;

Remarks

key_compare is a synonym for the template parameter Compare.

For more information on Compare, see the Remarks section of the multiset Class topic.

Example

See the example for key_comp for an example of how to declare and use key_compare.

Requirements

Header: <set>

Namespace: std

See Also

Reference

multiset Class

Standard Template Library