Boost logo

Boost :

Subject: Re: [boost] [multi_index] Taking advantage of C++17 auto template params to simplify key specification
From: Joaquin M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2017-09-27 11:56:43

El 27/09/2017 a las 13:29, Richard Hodges via Boost escribió:
> Definitely interesting to me. Also key_tuple<...> which would automatically
> tie a number of elements?

This can also be done:

 Â  using container=multi_index_container<
 Â Â Â  element,
 Â Â Â  indexed_by<
 Â Â Â  >
 Â  >;

(see ). The only
is that one has to specfiy element in keys<element,...> before the keys

Joaquín M López Muñoz

Boost list run by bdawes at, gregod at, cpdaniel at, john at