rpa::tuple2< _T1, _T2 > Struct Template Reference

tuple2 holds two objects of arbitrary type. This is a subset of std::pair. More...

#include <common.h>

List of all members.

Public Types

typedef _T1 first_type
typedef _T2 second_type

Public Member Functions

 tuple2 (const _T1 &__a, const _T2 &__b)
 tuple2 (const tuple2 &aT)
 tuple2 ()
 Ideally, this should be private. But this is sometimes necessary.

Public Attributes

_T1 first
_T2 second


Detailed Description

template<class _T1, class _T2>
struct rpa::tuple2< _T1, _T2 >

tuple2 holds two objects of arbitrary type. This is a subset of std::pair.


Member Typedef Documentation

template<class _T1, class _T2>
typedef _T1 rpa::tuple2< _T1, _T2 >::first_type

template<class _T1, class _T2>
typedef _T2 rpa::tuple2< _T1, _T2 >::second_type


Constructor & Destructor Documentation

template<class _T1, class _T2>
rpa::tuple2< _T1, _T2 >::tuple2 ( const _T1 &  __a,
const _T2 &  __b 
) [inline]

template<class _T1, class _T2>
rpa::tuple2< _T1, _T2 >::tuple2 ( const tuple2< _T1, _T2 > &  aT  )  [inline]

template<class _T1, class _T2>
rpa::tuple2< _T1, _T2 >::tuple2 (  )  [inline]

Ideally, this should be private. But this is sometimes necessary.


Member Data Documentation

template<class _T1, class _T2>
_T1 rpa::tuple2< _T1, _T2 >::first

template<class _T1, class _T2>
_T2 rpa::tuple2< _T1, _T2 >::second


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 10:20:34 2007 for rpa by  doxygen 1.4.7