csTuple2< First, Second > Class Template Reference
[Containers]
A two length tuple (fixed size collection of elements) Tuples are typically used for quickly bounding grouped values around with a low overhead.
More...
#include <csutil/tuple.h>
Public Types | |
| typedef First | FirstType |
| typedef that can be accessed to recreate object of the first type | |
| typedef Second | SecondType |
| typedef that can be accessed to recreate object of the second type | |
Public Member Functions | |
| template<typename AlFirst , typename AlSecond > | |
| csTuple2 (const csTuple2< AlFirst, AlSecond > &t) | |
| Templated constructor from another csTuple2. | |
| csTuple2 (const First &first, const Second &second) | |
| Constructor to initialise both elements. | |
| csTuple2 () | |
| Empty default constructor. | |
Public Attributes | |
| First | first |
| First element in Tuple. | |
| Second | second |
| Second element in Tuple. | |
Detailed Description
template<typename First, typename Second>
class csTuple2< First, Second >
A two length tuple (fixed size collection of elements) Tuples are typically used for quickly bounding grouped values around with a low overhead.
Definition at line 35 of file tuple.h.
Member Typedef Documentation
template<typename First, typename Second>
| typedef Second csTuple2< First, Second >::SecondType |
Constructor & Destructor Documentation
Member Data Documentation
The documentation for this class was generated from the following file:
- csutil/tuple.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8
