21 Jan
2014
21 Jan
'14
3:13 p.m.
On 1/20/2014 4:58 AM, Uthpal Urubail wrote:
I am having below composite container. I am looking to sort the container by member
at the end. Can some one help me to achieve this?
If you are just using your existing index for looking up matching values, and don't care that they are sorted by CA::name, then you can just change the order of your subkeys and put CA::card first.
typedef multi_index_container< CA, indexed_by< ordered_unique< composite_key< CA, member
, member , member > > duplicateBook;