A type models Tuple-Like if its instances are fixed-length heterogeneous sequences of objects of specified types, and if it provides specializations or overloads of the accessor templates tuple_size, tuple_element and tuple_get (see below).
T | - | A type which is a model of Tuple-Like |
t | - | Object of type T |
N | - | Integral constant expression |
| Expression | Expression Type | Semantics |
|---|---|---|
|
Integral constant expression | Returns the number of elements in t |
|
The type of the Nth element of t |
- |
|
|
Returns an object suitable for accessing the Nth element of t |
std::pair.
boost::tuple.
boost::array.
Revised 20 May, 2004
© Copyright Jonathan Turkanis, 2004
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah