Given function arguments, figure out which template function to expand, and return matching result.
matching result
the root of overloaded function templates
instantiation location
instantiation scope
initial list of template arguments
if !NULL, the 'this' pointer argument
arguments to function
address to store error message, or null
See Implementation
Given function arguments, figure out which template function to expand, and return matching result.