Boost logo

Boost Users :

From: Seweryn Habdank-Wojewódzki (shw_at_[hidden])
Date: 2007-05-15 18:21:51


Hi!

> If you don't mind using a more cumbersome notation, cons lists
> can be used to circumvent this limitation:
>
> http://boost.org/libs/tuple/doc/tuple_advanced_interface.html
>
> For instance:
>
> #include <boost/tuple/tuple.hpp>

[...]

> int main()
> {
> long_tuple lt;
> T10 t10=lt.get<10>();
> }

What I could say? It's really cool :-).

By the way it was my fault that I do not find "10 elements boundary". I have
just opened the book about boost (by Karlsson) and there is written about
this limitation on the second page about tuples.

I am sorry for the mess.

Regards.

-- 
|\/\/|   Seweryn Habdank-Wojewódzki
 \/\/ 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net