Quick Links: |
#include <bslstl_map.h>
Public Types | |
typedef bool | result_type |
typedef value_type | first_argument_type |
typedef value_type | second_argument_type |
Public Member Functions | |
value_compare (const value_compare &original) | |
~value_compare () | |
value_compare & | operator= (const value_compare &rhs) |
bool | operator() (const value_type &x, const value_type &y) const |
Protected Member Functions | |
value_compare (COMPARATOR comparator) | |
Protected Attributes | |
COMPARATOR | comp |
Friends | |
class | map |
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 [map.overview]; otherwise, we would have implemented it as a separate component-local class.
friend class map [friend] |