From: flameframe_at_[hidden]
Date: 2001-08-24 09:21:32


The following program fails to compile.

#include <boost/tuple/tuple.hpp>
int main(int argc, char* argv[])
{
    const boost::tuple<int> test;
    boost::get<0>(test);
    return 0;
}

MSVC6.5 claims to line 'boost::get<0>(test)'
.. : error C2667: 'get' : none of 2 overload have a best conversion
.. : error C2668: 'get' : ambiguous call to overloaded function

Though program compiles without 'const'. Is it inappropriate here?

Regards,
Vitalij.