Tiers are sequences, where all elements are non-const reference types. They are constructed with a call to a couple of tie function templates. The succeeding sections document the various tier flavors.
int i; char c; double d; ...
vector_tie(i, c, d);
A tie can be used to 'unpack' another tuple into variables. E.g.:
int i; char c; double d;
vector_tie(i, c, d) =
make_vector(1,'a', 5.5); std::cout << i << " " << c << " " << d;
This code prints 1 a 5.5 to the standard output stream. A sequence unpacking operation like this is found for example in ML and Python. It is convenient when calling functions which return sequences.
There is also an object called ignore which allows you to ignore an element assigned by a sequence. The idea is that a function may return a sequence, only part of which you are interested in. For example:
vector_tie(ignore, c) =