9 Aug
2010
9 Aug
'10
3:24 a.m.
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