[Bug c++/61472] added default-argument in later declaration of function template not caught

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 11 11:23:00 GMT 2014


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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I messed up my test for this too - we only diagnose it if you try to use the
default argument, so it seems to be ignored on the redeclaration.



More information about the Gcc-bugs mailing list