This class represents ordered tuples of some user-specified concrete type T for N > 0. The type T must have a default constructor. If the non-default constructor, copy constructor, or copy assignment operator are used, T must also have a copy constructor.
Public Member Functions
|Tuple (const Tuple &rhs)|
|Tuple &||operator= (const Tuple &rhs)|
|T &||operator (int i)|
|const T &||operator (int i) const|
|operator const T * () const|
: Constructs a Tuple, initializing the elements in the Tuple with the corresponding elements in the vector v. This assumes that v contains at least N elements of type T -- an assumption that is NOT checked. For user-defined types, T must have a well-defined and accessible copy constructor.
|Tuple< T, N > & Tuple< T, N >::operator=||(||const Tuple< T, N > &||rhs||)||
: Returns the address of the underlying vector of T representation. This should ONLY be used when interfacing to Fortran as it breaks the encapsulation of the class.
References Tuple< T, N >::vect.