13 Aug
2014
13 Aug
'14
1:57 p.m.
I am looking for a container where I have to use 5-10 keys to get the value.
I am trying to write something like below.. Can some one help to solve this?
struct entry
{
int a[10];
int id;
};
using boost::multi_index_container;
using namespace boost::multi_index;
typedef multi_index_container<
entry,
indexed_by<
ordered_non_unique<
composite_key<
entry,
member
book;
Regards, UJ