31 Jul
2006
31 Jul
'06
2:47 p.m.
Could you help me understand what I'm doing wrong in the code below? I'm trying to setup a multi_index structure of class B. class A { const std::string& ID(void) const; ... }; class B : public A { ... }; typedef boost::multi_index::multi_index_container< B*, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::const_mem_fun > >
BSet;
However when I compile VS2005 returns me an "illegal indirection" compile error. Any thoughts? Thanks