Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

pair< T1, T2 > Class Template Reference

no dependences from STL containers stores a pair of values More...

#include <map.h>

List of all members.

Public Member Functions

 pair ()
 default constructor
 pair (const T1 &v1, const T2 &v2)
 constructor
 pair (const pair< T1, T2 > &x)
 copy constructor
bool operator== (const pair< T1, T2 > &x) const
 equal operator
bool operator< (const pair< T1, T2 > &x) const
 less operator
bool operator!= (const pair< T1, T2 > &x) const
 non-equal operator

Public Attributes

T1 first
 the first stored value
T2 second
 the second stored value


Detailed Description

template<class T1, class T2>
class pair< T1, T2 >

no dependences from STL containers stores a pair of values

Definition at line 53 of file map.h.


Constructor & Destructor Documentation

template<class T1, class T2>
pair< T1, T2 >::pair (  )  [inline]

default constructor

Definition at line 47 of file map.hpp.

template<class T1, class T2>
pair< T1, T2 >::pair ( const T1 &  v1,
const T2 &  v2 
) [inline]

constructor

Parameters:
v1  first argument
v2  second argument

Definition at line 53 of file map.hpp.

template<class T1, class T2>
pair< T1, T2 >::pair ( const pair< T1, T2 > &  x  )  [inline]

copy constructor

Definition at line 59 of file map.hpp.


Member Function Documentation

template<class T1, class T2>
bool pair< T1, T2 >::operator== ( const pair< T1, T2 > &  x  )  const [inline]

equal operator

Definition at line 67 of file map.hpp.

References pair< T1, T2 >::first, and pair< T1, T2 >::second.

template<class T1, class T2>
bool pair< T1, T2 >::operator< ( const pair< T1, T2 > &  x  )  const [inline]

less operator

Definition at line 75 of file map.hpp.

References pair< T1, T2 >::first, and pair< T1, T2 >::second.

template<class T1, class T2>
bool pair< T1, T2 >::operator!= ( const pair< T1, T2 > &  x  )  const [inline]

non-equal operator

Definition at line 83 of file map.hpp.


Member Data Documentation


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


© Copyright Terimber 2003-.