|
Boost Users : |
Subject: Re: [Boost-users] [MultiIndex] is it possible to create multi-key key-extractors?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-08-08 23:24:32
AMDG
Mostafa wrote:
> That's pretty much what I figured from the documentation, I was just
> hoping for some kind of workaround that I might have missed.
>
> Well, here goes a feature request ... (A rough outline.)
>
> I propose adding a key-extractorS concept to the multi-index library.
> Something along the lines of the existing key-extractor concept,
> modified such that
>
> key_extractorS::result_type is a Boost.Range of keys
Sorry, but I don't think that this can be implemented
in a way that is consistent with the rest of the library.
You'd be better off using an auxillary map of pointers.
No implementation that I can think of is going to be
more efficient than that, anyway.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net