also handle function template decls