Boost logo

Boost :

From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-08-24 15:06:35


flameframe_at_[hidden] wrote:
>
> The following program fails to compile.

> 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?

This is appropriate: You've got a problem with a boost library.
It appears your problem is due to a bug in the MSVC compiler.
Your demo program compiles without a nit on both gcc 3.0.1
and como 4.2.45.2.

Jens Maurer


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