|
Boost Users : |
Subject: Re: [Boost-users] multi index container [solved]
From: JOAQUIN M. LOPEZ MUÑOZ (joaquin_at_[hidden])
Date: 2010-02-03 12:25:24
________________________________________
De: boost-users-bounces_at_[hidden] [boost-users-bounces_at_[hidden]] En nombre de Dejan [xamiw_at_[hidden]]
Enviado el: miércoles, 03 de febrero de 2010 18:18
Para: boost-users_at_[hidden]
Asunto: Re: [Boost-users] multi index container [solved]
>
> Got it:
> [...]
That's right, but did you consider what I commented in my
previous post?
"Now that I think again about it, when you write:
employee* p=...
employee_set.find(p);
Can't you just write this
employee* p=...
employee_set.find(p->id);
and be done with only one lookup criterion?"
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net