8 Aug
2010
8 Aug
'10
8:12 p.m.
Mostafa
struct Flower { int type; string name; std::list<string> aliases; };
I want to create a multiindexed container that indexes Flower objects by type, name, and aliases, where aliases is some iteratable collection of strings. [snip]
You probably want to read up on MultiIndex's Key_Extractor concept and some of the realizations besides "member". Specifically the "global_fun" may be helpful: http://tinyurl.com/2cumme4 HTH, -Ryan