[multi_index] Introducing C++17 terse key specification syntax
Following some ideas discussed about a year ago, I've added a new
boost::multi_index::key construct allowing for a very terse
specification of predefined
key extractors in C++17 compliant environments. For instance, given
struct phonebook_entry
{
std::string family_name;
std::string given_name;
std::string phone_number()const;
};
int num_calls(const phonebook_entry&);
a classical definition like
typedef multi_index_container<
phonebook_entry,
indexed_by<
ordered_unique<
const_mem_fun
participants (1)
-
Joaquin M López Muñoz