9 Jul
2009
9 Jul
'09
5 p.m.
On Thu, Jul 09, 2009 at 05:49:39PM +0100, Robert Jones wrote:
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?
You're basically looking for fusion maps (look at the boost.fusion library).