----- Mensaje original -----
De: "JOAQUIN LOPEZ MU?Z"
----- Mensaje original ----- De: Filip Konvi?ka
Fecha: Sábado, Junio 2, 2007 0:27 am Asunto: Re: [Boost-users] [multi_index] MSVS 2005 visualizers? Para: boost-users@lists.boost.org It seems that accessing node_count using the same technique as with ordered_unique does not work - I'm off by 4 bytes (see the (((char*)&$c)+4) expression).
Umm... I've been thinking a little more about this and it turns out that we can do the downcast legally without resorting to the multi_index_helper_3 hack. The following should work for any kind of header_holder: size : (($T2*)&$c)->node_count because T2 actually derives from header_holder<*,T2>. This would allow us to dispense with multi_index_helper_3 entirely. Can you check this out? Joaquín M López Muñoz Telefónica, Investigación y Desarrollo