Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2005-12-17 10:03:45


Thorsten Ottosen wrote:
>
> A compiler bug?
>

yes and found:

     template< class Container >
     operator Container() const
     {
         ...
     }

Intel deduces a 'const Container' here for initializations!

I've submitted a bug report.

>
> Applied as follows:
>
> #if BOOST_WORKAROUND(BOOST_INTEL, <= 900 )
> BOOST_DEDUCED_TYPENAME remove_const<Array>::type ar;
> #else
> Array ar;
> #endif
>
>
> Is that the right version number?
>

yes! thanks, I hope I don't forget to inform you when Intel has fixed
the problem :-)

stefan


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