[Tuple] Addressing by named tag?

9 Jul
2009
9 Jul
'09
4:49 p.m.
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.

9 Jul
9 Jul
6:03 p.m.
On Thu, Jul 9, 2009 at 12:49 PM, Robert Jones <robertgbjones@gmail.com>wrote:
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?
What you want already exists in Boost.Fusion. It's a map. http://www.boost.org/doc/libs/1_39_0/libs/fusion/doc/html/fusion/container/m... -- -Matt Calabrese
5818
Age (days ago)
5818
Last active (days ago)
1 comments
2 participants
participants (2)
-
Matt Calabrese
-
Robert Jones