|
Boost : |
Subject: Re: [boost] [multi_index] feature proposal: member keys and typeless specification of keys
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2011-05-08 10:14:22
Thorsten Ottosen <thorsten.ottosen <at> dezide.com> writes:
>
> If we have decltype, then can't we simply say
>
> indexed_by<
> ordered_unique<&foo::x>,
> ordered_unique<&foo::bar>,
> ordered_unique<&foo::baz>
> >
> > multi_t;
>
> with some modifications to ordered_unique<>?
I'm afraid this is impossible. What would the type be for the
first template paramater of ordered_unique?
JoaquÃn M López Muñoz
Telefónica, Investigación y Desarrollo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk