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