multiset::value_compare
The type that provides a function object that can compare two sort keys to determine their relative order in the multiset.
typedef key_compare value_compare;
설명
value_compare is a synonym for the template parameter Compare.
Note that both key_compare and value_compare are synonyms for the template parameter Compare. Both types are provided for the classes set and multiset, where they are identical, for compatibility with the classes map and multimap, where they are distinct.
For more information on Compare, see the Remarks section of the multiset 클래스 topic.
예제
See the example for value_comp for an example of how to declare and use value_compare.
요구 사항
헤더: <설정>
네임스페이스: std