Definition
An instance p of type three_tuple<A,B,C> is a three-tuple (a, b, c) of variables of types A, B, and C, respectively.
Related types are two_tuple, three_tuple, and four_tuple.
#include < LEDA/tuple.h >
Types
| three_tuple<A,B,C>::first_type | the type of the first component. |
| three_tuple<A,B,C>::second_type | the type of the second component. |
| three_tuple<A,B,C>::third_type | the type of the third component. |
Creation
| three_tuple<A,B,C> | p | creates an instance p of type three_tuple<A,B,C>. All components are initialized to their default value. |
| three_tuple<A,B,C> | p(A u, B v, C w) | creates an instance p of type three_tuple<A,B,C> and initializes it with the value (u, v, w). |
Operations
Implementation
The obvious implementation is used.
© Copyright 1995-2002, Algorithmic Solutions Software GmbH. All rights reserved.
2002-10-16