Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends

bsl::multimap< KEY, VALUE, COMPARATOR, ALLOCATOR >::value_compare Class Reference
[Component bslstl_multimap]

#include <bslstl_multimap.h>

List of all members.

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_compareoperator= (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 multimap

Detailed Description

template<class KEY, class VALUE, class COMPARATOR = std::less<KEY>, class ALLOCATOR = allocator<pair<const KEY, VALUE> >>
class bsl::multimap< KEY, VALUE, COMPARATOR, ALLOCATOR >::value_compare

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.

See Component bslstl_multimap


Friends And Related Function Documentation

template<class KEY , class VALUE , class COMPARATOR = std::less<KEY>, class ALLOCATOR = allocator<pair<const KEY, VALUE> >>
friend class multimap [friend]

The documentation for this class was generated from the following file: