Boost logo

Boost :

Subject: Re: [boost] [type_erasure] overloading macro
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-02-28 11:42:15


AMDG

On 02/27/2013 01:48 PM, Christophe Henry wrote:
>>>> Okay, I've traced the problem:
>>>>
>>>> BOOST_MPL_ASSERT((boost::is_convertible<Data&&, Data&&>)); // fails
>>>
>>> Yes, it also fails on my mingw 4.7.1. Looks like you found the culprit.
>>>
>>>> Not quite sure how to solve it though...
>>>
>>> Hmmm no idea :(
>>>
>>
>> Does std::is_convertible work?
>>
>
> Oh! Surprisingly, yes.
>

I'm guessing that std::is_convertible has some other
problem which is the reason that boost::is_convertible
is not implemented in the same way. So, I'm
just disabling the test. This probably won't
catch mingw. Would you mind fiddling with the
condition at detail/check_call.cpp:118 to make
it work.

In Christ,
Steven Watanabe


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