A pair of elements of two (possibly different) types.
More...
#include <pair.h>
List of all members.
Public Member Functions |
| tPair () |
| The default constructor of a pair.
|
| tPair (const LeftT &leftElement, const RightT &rightElement) |
| The constructor of a pair composed of the two given elements.
|
Public Attributes |
LeftT | left |
| The first element of the pair.
|
RightT | right |
| The second element of the pair.
|
Detailed Description
template<class LeftT, class RightT>
class tPair< LeftT, RightT >
A pair of elements of two (possibly different) types.
Definition at line 48 of file pair.h.
Constructor & Destructor Documentation
template<class LeftT, class RightT>
The default constructor of a pair.
Definition at line 52 of file pair.h.
template<class LeftT, class RightT>
tPair< LeftT, RightT >::tPair |
( |
const LeftT & |
leftElement, |
|
|
const RightT & |
rightElement |
|
) |
| [inline] |
The constructor of a pair composed of the two given elements.
Definition at line 55 of file pair.h.
Member Data Documentation
template<class LeftT, class RightT>
The first element of the pair.
Definition at line 59 of file pair.h.
template<class LeftT, class RightT>
The second element of the pair.
Definition at line 62 of file pair.h.
The documentation for this class was generated from the following file: