Re: [Boost-users] Multi-index container (Modifying non-unique key in the container)
________________________________ De: boost-users-bounces@lists.boost.org [boost-users-bounces@lists.boost.org] En nombre de Ramesh [rramesh1@gmail.com] Enviado el: martes, 12 de agosto de 2008 20:40 Para: boost-users@lists.boost.org Asunto: Re: [Boost-users] Multi-index container (Modifying non-unique key in the container)
Thanks Joaquín,
Will try modify & the reasons I am wrapping the map class with a another one is to make sure that the users of the class just get access to APIs and not to the container as such & and also each key is used by a different classes to do lookups. Hence two unique keys.
Hmm... I'm not referring to your myclass wrapper, but rather to the fact that you're storing DataMaps objects into the container rather than A*s directly. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
On Wed, Aug 13, 2008 at 10:20 AM, JOAQUIN M. LOPEZ MUÑOZ
------------------------------ *De:* boost-users-bounces@lists.boost.org [ boost-users-bounces@lists.boost.org] En nombre de Ramesh [ rramesh1@gmail.com] *Enviado el:* martes, 12 de agosto de 2008 20:40 *Para:* boost-users@lists.boost.org *Asunto:* Re: [Boost-users] Multi-index container (Modifying non-unique key in the container)
Thanks Joaquín,
Will try modify & the reasons I am wrapping the map class with a another
the users of the class just get access to APIs and not to the container as such & and also each key is used by a different classes to do lookups. Hence two unique keys. Hmm... I'm not referring to your myclass wrapper, but rather to the fact
one is to make sure that that you're storing DataMaps objects into the container rather than A*s directly.
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
Sorry if I got your question wrong, I am storing only pointers to objects inside the map and each instance of myclass would hold one such container to hold pointers to objects of class A along with keys. Thanks /R
participants (2)
-
JOAQUIN M. LOPEZ MUÑOZ
-
Ramesh