In article <1136065312.811794.82840@g43g2000cwa.googlegroups. com>,
"ma740988" <ma740988@gmail.com> wrote:
[color=blue]
> Why no:
> std::triple <int, int, int> - or some such thing?[/color]
The plain simple truth is that you're ahead of the standard. We're
trying to catch up, but standards are slow.
There is a first technical library report out that is experimenting with
something like:
#include <tuple>
int main()
{
std::tr1::tuple<int, int, int> tp;
}
It is only a TR (Technical Report), and not standard. Your vendor might
supply it as shown, or perhaps under:
#include <tr1/tuple>
or perhaps not at all.
You can read the paper at:
http://www.open-std.org/jtc1/sc22/wg...2005/n1836.pdf
(search for 6.1 tuple types)
It is my hope that std::tr1::tuple will be standardized in C++0X as
std::tuple.
In the mean-time you can work with:
http://www.boost.org/libs/tuple/doc/...ers_guide.html
-Howard