
Hi Manuel, ----- Mensaje original ----- De: Manuel Jung <gzahl@arcor.de> Fecha: Miércoles, Febrero 28, 2007 7:38 pm Asunto: [Boost-users] [Boost.MultiIndex] Problem using data element from derived class as key Para: boost-users@lists.boost.org
Hi,
Im having a problem. I derive class B from class A. class a has the member > A::id. I want to use this one as key for my MultiIndexContainer. But i get the following compiling errors:
test.cpp:41: Fehler: Templateargument »&A::id« konnte nicht in »unsigned int B::*« umgewandelt werden test.cpp:42: Fehler: Templateargument 2 ist ungültig test.cpp:43: Fehler: Templateargument 1 ist ungültig test.cpp:44: Fehler: Templateargument 2 ist ungültig
Sorry it on german. A testfile for reproducing my problem is attached. Can someone help? thanks..
This is a fairly recurring question. Please read about it at http://lists.boost.org/boost-users/2006/12/24042.php Is everything clear after reading the above? BTW, what happened to your SIGABRT problem? you promised to report back after investigating the safe mode and invariant checking macros issue :) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo