2017-05-28 18:32 GMT+03:00 Mark Kettenis :
>> From: "Ted Unangst"
>> Date: Sun, 28 May 2017 11:16:21 -0400
>>
>> Vadim Zhukov wrote:
>> > While working on getting Boost & its friends work under Clang,
>> > I've stumbled upon the code that looks like the following:
>> >
>> >decltype(x, y) z = w
2017-05-28 18:35 GMT+03:00 Vadim Zhukov :
> 2017-05-28 18:16 GMT+03:00 Ted Unangst :
>> Vadim Zhukov wrote:
>>> While working on getting Boost & its friends work under Clang,
>>> I've stumbled upon the code that looks like the following:
>>>
>>>decltype(x, y) z = w;
>>
>> why not espie's fix fr
2017-05-28 18:16 GMT+03:00 Ted Unangst :
> Vadim Zhukov wrote:
>> While working on getting Boost & its friends work under Clang,
>> I've stumbled upon the code that looks like the following:
>>
>>decltype(x, y) z = w;
>
> why not espie's fix from earlier?
Because I've missed it. :( I have no i
> From: "Ted Unangst"
> Date: Sun, 28 May 2017 11:16:21 -0400
>
> Vadim Zhukov wrote:
> > While working on getting Boost & its friends work under Clang,
> > I've stumbled upon the code that looks like the following:
> >
> >decltype(x, y) z = w;
>
> why not espie's fix from earlier?
Well, I
Vadim Zhukov wrote:
> While working on getting Boost & its friends work under Clang,
> I've stumbled upon the code that looks like the following:
>
>decltype(x, y) z = w;
why not espie's fix from earlier?
but clang++ has variadic macros, like C99... the following patch allows
macro dec
While working on getting Boost & its friends work under Clang,
I've stumbled upon the code that looks like the following:
decltype(x, y) z = w;
The "x, y" is a perfectly valid expression, and should work.
But it's not, because decltype is actually defined as a macros
in libcxx:
#if !__is_iden