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<entry,unsigned int,&entry::a> ????
>
>,
ordered_unique<
member<entry,unsigned int,&entry::id>
>
>
> book;