Boost logo

Boost :

Subject: Re: [boost] Boost.Test and Xcode 4.5 in C++11 Mode
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2012-11-15 15:15:07


On Nov 15, 2012, at 12:04 PM, Daniel James <dnljms_at_[hidden]> wrote:

> On 15 November 2012 20:01, Marshall Clow <mclow.lists_at_[hidden]> wrote:
>> On Nov 15, 2012, at 11:32 AM, Daniel James <dnljms_at_[hidden]> wrote:
>>> Btw. please can someone with clang from subversion try the test case?
>>
>> Coming in late - where's the test case?
>
> Can you compile this is C++11 mode?
>
> template <typename T> struct foo {};
> foo<decltype(1 > 0)> x;

Yes, I can.

$ cat junk2.cpp
  template <typename T> struct foo {};
   foo<decltype(1 > 0)> x;
$ totclang11 junk2.cpp -c -Wall
$

-- Marshall

Marshall Clow Idio Software <mailto:mclow.lists_at_[hidden]>

A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait).
        -- Yu Suzuki


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