Adaptor that compares value_type objects by their keys.
Synopsis
Declared in <bslstl_multimap.h>
class value_compare;
Description
This nested class defines a mechanism for comparing two objects of value_type by adapting an object of (template parameter) type COMPARATOR, which compares two objects of (template parameter) type KEY . Note that this class exactly matches its definition in the C++11 standard [23.4.4.1]; otherwise, we would have implemented it as a separate component‐local class.
Type Aliases
Name |
Description |
Alias for the first argument type of |
|
This |
|
Alias for the second argument type of |
Member Functions
Name |
Description |
Return whether |
Protected Member Functions
Name |
Description |
|
Create a |
Protected Data Members
Name |
Description |
Key comparator stored in each node. |
Friends
Name |
Description |
Ordered associative container mapping keys to values, allowing duplicates. |
Created with MrDocs