Boost logo

Boost :

Subject: Re: [boost] [utility/result_of] decltype-based implementation breaking valid code on msvc-10
From: Daniel James (dnljms_at_[hidden])
Date: 2010-04-06 03:52:02


On 5 April 2010 22:59, Eric Niebler <eric_at_[hidden]> wrote:
>
> I suspect the real problem is in a buggy implementation of decltype on
> msvc-10. For the upcoming boost release, I suggest that we stick with the
> non-decltype implementation of result_of on msvc-10, or risk massively
> breaking users' code, not to mention proto, spirit and xpressive on that
> compiler.

I think this is my fault. I was updating the use of config macros,
which caused it to use decltype for Visual C++ 10. For other libraries
I submitted tickets but since no one seemed to be maintaining
result_of I made that change myself. I'll revert it for now but we
should probably change config to define BOOST_NO_DECLTYPE for Visual
C++ 10 if it's buggy on that compiler.

Daniel


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