|
Boost : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2001-08-31 20:58:16
Vitalij,
There is now a fix for this in CVS, and it should be in the next Boost
release as well. I apologize for the delay.
Doug
On Friday 24 August 2001 10:21, flameframe_at_[hidden] wrote:
> 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk