
Consider the following:
struct element
{
int x;
int f()const{return x;}
};
int gf(const element& e){return e.x;}
using container=multi_index_container<
element,
indexed_by<
ordered_unique
Consider the following:
struct element
{
int x;
int f()const{return x;}
};
int gf(const element& e){return e.x;}
using container=multi_index_container<
element,
indexed_by<
ordered_unique