Boost logo

Boost :

Subject: Re: [boost] [utility/result_of] decltype-based implementation breaking valid code on msvc-10
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2010-04-06 15:28:36


> Eric Niebler 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.
>
> MSVC10 isn't even released yet.
> Why bother with a non-stable compiler?
>

I start having a bit of experience with decltype and VC compilers
(sigh) through my eUML front-end for MSM and I can give you one
reason: because it's probably not just VC10. I have here and there
this problem (and others) with VC9 too. It might just happen in
different conditions.

Christophe


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