
3 Oct
2007
3 Oct
'07
7:18 a.m.
Hi.
I'm trying to create a multi_index and I was wondering if its possible
to use a member of a member struct as index.
struct nested_element_t {
int i;
};
struct element_t {
nested_element_t ne;
};
I'm not sure if there's a way to use member key extractor or should I write my own
typedef multi_index_container<
element_t,
indexed_by<
ordered_non_unique
set_t;
Regards. -- Pedro Larroy Tovar, pedro at larroy dot com | http://pedro.larroy.com/ * Las patentes de programación son nocivas para la innovación * http://proinnova.hispalinux.es/