Boost logo

Boost :

From: tal boost (tal.boost_at_[hidden])
Date: 2006-02-22 09:13:48


///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. :(


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk