28 Mar
2013
28 Mar
'13
12:41 p.m.
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