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.
Synopsis
Declared in <bslstl_multimap.h>
class value_compare;
Type Aliases
Name |
Description |
This |
|
This |
|
This |
Member Functions
Name |
Description |
Return |
Protected Member Functions
Name |
Description |
|
Create a |
Protected Data Members
Name |
Description |
Key comparator stored in each node. |
Friends
Name |
Description |
This class template implements a value‐semantic container type holding an ordered sequence of key‐value pairs having possibly duplicate keys that provide a mapping from keys (of the template parameter type, |
Created with MrDocs