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

map::value_compare Class Template Reference

#include <stl_map.h>

Inheritance diagram for map::value_compare:

Inheritance graph
[legend]
Collaboration diagram for map::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 map< Key, T, Compare, Alloc >

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


Constructor & Destructor Documentation

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

Definition at line 61 of file stl_map.h.

References comp.

00061 : comp(c) {}


Member Function Documentation

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

Definition at line 63 of file stl_map.h.

References comp, and pair::first.

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


Friends And Related Function Documentation

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

Definition at line 58 of file stl_map.h.


Member Data Documentation

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

Definition at line 60 of file stl_map.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:34 2002

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