Find the TemplateDeclaration that matches this TemplateInstance best.
the scope this TemplateInstance resides in
function arguments in case of a template function, null otherwise
true if a match was found, false otherwise
Find the TemplateDeclaration that matches this TemplateInstance best.