
27 Sep
2017
27 Sep
'17
11:56 a.m.
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< ordered_unique<keys<element,&element::x,&element::f,&gf>> > >; (see http://coliru.stacked-crooked.com/a/c2b27ff9542d6651 ). The only annoyance is that one has to specfiy element in keys<element,...> before the keys proper. Joaquín M López Muñoz