Boost logo

Boost :

Subject: Re: [boost] [config] gcc implemented N3276 decltype
From: Michel Morin (mimomorin_at_[hidden])
Date: 2013-03-28 08:41:53


John Maddock wrote:
>>> gcc 4.8.1 and 4.9.0 will support N3276 decltype.
>>> ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52748 )
>>>
>>> May I commit an attached patch?
>>
>>
>> Nice. It's John Maddock's call, but I would love to see this.
>
>
> If it passes the tests, then sure go ahead and commit.

Sigh... it turns out that gcc does not implement N3276 completely.
I just tested `boost_no_decltype_n3276.ipp`, but it failed to compile.

(I had tested decltype for incomplete return types that does not
involve any templates:

  struct S;
  S f();
  decltype(f())* ptr = 0;

This test ran successfully.)

I'll reopen the PR on gcc bugzilla.

Regards,
Michel


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