Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::gen::refpair Class Template Reference

Like a pair, but contains references which can be assigned to. More...

#include <more/gen/utility.h>

Collaboration diagram for more::gen::refpair:

Collaboration graph
[legend]
List of all members.

Public Types

Public Methods

Public Attributes


Detailed Description

template<typename T, typename U>
class more::gen::refpair< T, U >

Like a pair, but contains references which can be assigned to.


Member Typedef Documentation

template<typename T, typename U>
typedef T more::gen::refpair::first_type
 

The type of the first component.

template<typename T, typename U>
typedef U more::gen::refpair::second_type
 

The type of the second component.


Constructor & Destructor Documentation

template<typename T, typename U>
more::gen::refpair< T, U >::refpair T &    x,
U &    y
[inline]
 

Construct a pair of references to x and y.

template<typename T, typename U>
more::gen::refpair< T, U >::refpair refpair< T, U > const &    rp [inline]
 

Construct a copy.


Member Function Documentation

template<typename T, typename U>
refpair& more::gen::refpair< T, U >::operator= std::pair< T, U > const &    p [inline]
 

Assign the values of p to the references in this pair.


Member Data Documentation

template<typename T, typename U>
T& more::gen::refpair::first
 

The first member of the pair.

template<typename T, typename U>
U& more::gen::refpair::second
 

The second member of the pair.


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:09 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.