Boost logo

Boost :

Subject: Re: [boost] [Tuple] Addressing by named tag?
From: Matt Calabrese (rivorus_at_[hidden])
Date: 2009-07-09 14:03:38


On Thu, Jul 9, 2009 at 12:49 PM, Robert Jones <robertgbjones_at_[hidden]>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/map.html

-- 
-Matt Calabrese

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