Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

multimap::value_compare Class Template Reference

#include <stl_multimap.h>

Inheritance diagram for multimap::value_compare:

Inheritance graph
[legend]
Collaboration diagram for multimap::value_compare:

Collaboration graph
[legend]
List of all members.

Public Methods

bool operator() (const value_type &x, const value_type &y) const

Protected Methods

 value_compare (Compare c)

Protected Attributes

Compare comp

Friends

class multimap< Key, T, Compare, Alloc >

template<class Key, class T, class Compare = less<Key>, class Alloc = alloc>
class multimap< Key, T, Compare, Alloc >::value_compare


Constructor & Destructor Documentation

template<class Key, class T, class Compare = less<Key>, class Alloc = alloc>
multimap< Key, T, Compare, Alloc >::value_compare::value_compare Compare    c [inline, protected]
 

Definition at line 60 of file stl_multimap.h.

References comp.

00060 : comp(c) {}


Member Function Documentation

template<class Key, class T, class Compare = less<Key>, class Alloc = alloc>
bool multimap< Key, T, Compare, Alloc >::value_compare::operator() const value_type   x,
const value_type   y
const [inline]
 

Definition at line 62 of file stl_multimap.h.

References comp, and pair::first.

00062                                                                     {
00063       return comp(x.first, y.first);
00064     }


Friends And Related Function Documentation

template<class Key, class T, class Compare = less<Key>, class Alloc = alloc>
friend class multimap< Key, T, Compare, Alloc > [friend]
 

Definition at line 57 of file stl_multimap.h.


Member Data Documentation

template<class Key, class T, class Compare = less<Key>, class Alloc = alloc>
Compare multimap::value_compare::comp [protected]
 

Definition at line 59 of file stl_multimap.h.

Referenced by operator(), and value_compare.


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

Documentation generated on Thu May 2 15:03:36 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001