Boost logo

Boost :

Subject: Re: [boost] sp_convertible<> on MSVC10
From: Zachary Turner (divisortheory_at_[hidden])
Date: 2010-02-19 18:04:02


On Fri, Feb 19, 2010 at 9:50 AM, Zachary Turner <divisortheory_at_[hidden]>wrote:

>
>
> On Fri, Feb 19, 2010 at 9:43 AM, Richard Webb <
> richard.webb_at_[hidden]> wrote:
>
>> Theres a regresion test failure on VC10 in this area:
>> http://tinyurl.com/y8sfdos
>>
>> Thats on the VC10 release candidate.
>>
>>
>> Theres a blog post @
>>
>> http://blogs.msdn.com/vcblog/archive/2010/02/10/visual-studio-2010-release-candidate-is-now-available-for-download.aspx#9965443
>> which suggests that they've tested something with Boost, but who knows
>> what
>> they've actually tried.
>>
>>
> I see. I guess I should report it to connect, it says they've tested with
> 1.40 but not 1.42
>

I reported it.

In the meantime, how about implementing a workaround for MSVC10 release
candidate that simply uses std::tr1::is_convertible?

template< class Y, class T > struct sp_convertible
{
enum _vt { value = std::is_convertible<Y*, T*>::value };
};

works fine.

Zach


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