$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Sort boost composite container
From: Uthpal Urubail (uthpal.urubail_at_[hidden])
Date: 2014-01-20 05:58:38
I am having below composite container. I am looking to sort the container by member<CA,std::string,&CA::card> at the end.
Can some one help me to achieve this?
typedef multi_index_container<
CA,
indexed_by<
ordered_unique<
composite_key<
CA,
member<CA,std::string,&CA::name>,
member<CA,std::string,&CA::displayName>,
member<CA,std::string,&CA::card>
>
>
>
> duplicateBook;
Regards,
UJ