[Bug c++/12672] Evals template defaults args that it should not

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 15 19:40:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12672

--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ivan Godard from comment #11)
> IANALL, but the portions of the standard cited by Jonathan all refer to
> argument evaluation,

Maybe you're confusing template arguments with function arguments?

Template argument deduction is not limited to the function arguments.


More information about the Gcc-bugs mailing list