Boost logo

Boost :

Subject: [boost] [Tuple] Addressing by named tag?
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-07-09 12:49:39


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk