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/core/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(const A& u, const B& v, const 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.