
Hello Marc, ----- Mensaje original ----- De: Marc Viala <mviala@acticm.com> Fecha: Viernes, Diciembre 29, 2006 7:25 pm Asunto: [Boost-users] [Boost.Multi-Index] ICE w/ VC7.1 Para: boost-users@lists.boost.org
I'm just trying to use Boost.MultiIndex in a large project but I'm not being able to compile this library with VC 7.1.6030: I've got an ICE in file "apply_wrap.hpp" of Boost.MPL. I've tried to change the headers order but without success.
My environment is: - Windows XP - Boost 1.33.1 - VC 7.1.6030
To demonstrate this ICE, you will find hereafter a code snippet.
Thanks in advance.
Marc Viala [...] typedef composite_key< Item , ordered_non_unique<member<Item,int,&Item::_i> > , ordered_non_unique<member<Item,int,&Item::_j> >
ckey_ij ;
I think the problem lies here: you must provide composite_key<> with *key extractors*, not index specifiers. Please try rewriting ckey_ij like this: typedef composite_key< Item , member<Item,int,&Item::_i> , member<Item,int,&Item::_j> > ckey_ij ; Problem solved? I'm sorry I can't try the snippet you provide myself, so please report back. Thanks for using Boost.MultiIndex! Joaquín M López Muñoz Telefónica, Investigación y Desarrollo