
22 Feb
2006
22 Feb
'06
2:13 p.m.
///You wrote: ...and try again. If this works, you might want to omit explicit qualification and see what happens. const hndl_index_type & h_type = get<0>(ns); Doing so, the output is again: error C2667: 'get' : none of 2 overload have a best conversion error C2668: 'get' : ambiguous call to overloaded function The following lines work fine: :)
const hndl_index_type & h_type = boost::multi_index::get<0>(ns); //works fine! boost::multi_index::get<myIndex>(ns).find(id);
I still don't get why I have to keep explicit qualification even though Its defined using namespace boost::multi_index, is defined. :(