Boost logo

Boost :

From: Avi Revivo (revivoavi_at_[hidden])
Date: 2007-12-25 01:46:56

Thank you very much for the fast reply,

If i have no problem adding a function that returns the value to sort by
(e.g. long GetClientId) and i use BOOST_MULTI_INDEX_CONST_MEM_FUN define key

Would you suggest i use BOOST_MULTI_INDEX_CONST_MEM_FUN,write my own custom
key extractor or it does not matter in terms of performance (or anything

Thanks Again,

Joaquin M Lopez Munoz wrote:
> Hi Avi,
> ----- Mensaje original -----
> De: Avi Revivo <revivoavi_at_[hidden]>
> Fecha: Domingo, Diciembre 23, 2007 2:01 pm
> Asunto: [boost] Multi Index Container - key extractor on a member of a
> member
> Para: boost_at_[hidden]
>> Hi All,
>> Is it possible/exist a key extractor that can extract a member of
>> a member of the base type stored by the Multi Index container.
>> I tried to do this with the standard member extractor but failed
>> to do so.
> You must write your own custom extractor to do so. The tutorial
> section on this issue ( ) shows precisely
> how to write an extractor that provides as the key a member of a
> member of the element. Please come back if you have problems
> writing your key extractor after the instructions on the afore-
> mentioned docs section.
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo
> _______________________________________________
> Unsubscribe & other changes:

View this message in context:
Sent from the Boost - Dev mailing list archive at

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