gcc and template

Michael Sogtrop MSoegtrop@yahoo.de
Sat Nov 22 16:45:00 GMT 2003


Hello pinzi,

i think the code is bad. my_func2 must be known to be a template
function, before it can be used as a template function. You must revert
the order of the definitions of my_func and my_func2 of give a
declaration of my_func2, before it is used in my_func.

Best regards,

Michael



More information about the Gcc-help mailing list