This proposal lives in two headers: <tuple> and <tupleio>. It closely follows these two proposals:
The header <tuple> exposes a std::pair-like class which generalizes the pair concept up to 10 members.
#include <tuple> #include <string> int main() { int i = 0; std::tr1::tuple<int, int&, std::string> t(1, i, "hi"); // t holds (1, 0, "hi") i = 2; // t holds (1, 2, "hi") }
Namespace std::tr1 { Stuff }