Re: gcc and template

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux