Boost logo

Boost Users :

Subject: [Boost-users] composite_key with array member
From: Uthpal Urubail (uthpal.urubail_at_[hidden])
Date: 2014-08-13 09:57:26

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<






    member<entry,unsigned int,&entry::a> ????




    member<entry,unsigned int,&entry::id>



> book;


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at