
22 May
2006
22 May
'06
12:20 p.m.
Hello, I use multi_index as follow with success: typedef boost::multi_index::multi_index_container< boost::shared_ptr<NodeBase>, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< BOOST_MULTI_INDEX_CONST_MEM_FUN(NodeBase, handle, getHandle) >, boost::multi_index::ordered_non_unique< BOOST_MULTI_INDEX_CONST_MEM_FUN(NodeBase, group_id, memberOf) > > > NodePtrSet; but I would like NodeBase inherite boost::enable_shared_from_this<NodeBase> I get error C2964: invalid expression as template parameter using msvc 6 any idea?