« Return to Thread: [Tuple] Addressing by named tag?

[Tuple] Addressing by named tag?

by Robert Jones-2 :: Rate this Message:

Reply to Author | View in Thread

Am I correct in believing that tuples have to be accessed by element index,
as in

tuple.get<0>()

Multi-Index container has a really nice facility to use named (well typed
really) tags in these
kind of expressions, but it seems tuples do not.

Anyone fancy adding it to tuple?

- Rob.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: [Tuple] Addressing by named tag?