Template class T0, class T1, ... class T9 class tuple

This proposal lives in two headers: <tuple> and <tupleio>. It closely follows these two proposals:

Remarks

The header <tuple> exposes a std::pair-like class which generalizes the pair concept up to 10 members.

Listing: Example of tuple
#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")

}
Listing: Class Synopsis
Namespace std::tr1 {
Stuff
}