|
Boost : |
Subject: Re: [boost] Boost.Test and Xcode 4.5 in C++11 Mode
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-11-15 19:52:59
Daniel James <dnljms <at> gmail.com> writes:
>
> On 15 November 2012 14:54, Daniel James <dnljms <at> gmail.com> wrote:
> >
> > I tried building with Clang 3.1 in C++11 mode, and I got the same
> > errors as you.
>
> I think it's a clang bug, here's a test case:
>
> template <typename T> struct foo {};
> foo<decltype(1 > 0)> x;
>
> It thinks the '>' from '1 > 0' is an angle bracket, I guess it has
> been fixed on clang trunk.
I checked in a fix, which just split above into two lines. The rest should work
as is I believe.
Please verify.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk