Remember the matlab's multiple return values [a,b] = func(c,d) semantics?
Now in C++, with a few cool boost::tuples:
For the rest, go to tuples reference.
int i; char c; double d;
tie(i, c, d) = make_tuple(1,'a', 5.5);
Unfortunately the boost guys have completely missed the idea of physical units recently, but that's a whole different story.