2010/1/19 Simon Hill:
> Axel Quote:
> "Anyways there is an already filed GCC bug about this defect report
> against the standard,
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29131 ."
>
> That bug report is suspended. Is this due to the C++ standards issue
> you referred to?:
> http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_active.html#225

Yes, there's no point changing GCC until it's clear what the standard
will say on the subject.

> That C++ standards issue is also 10 years old, and so (I would guess)
> unlikely to be fixed any time soon.

It has "drafting" status which means someone is working on it.

> So, regardless of which stance GCC takes regarding the standards
> issue, in my view GCC should still remain consistent. Either accept
> both versions (with and without the original template foo()) or reject
> both versions.

GCC aims for consistency to the standard. If you want to change the
standard this isn't the place to do it.

You can update the bug report with additional testcases if you think
there is something missing from the discussion, but the bug is likely
to remain suspended until the DR is resolved (which should be soon,
given that the new standard could be finished this year.)

Jonathan

Reply via email to