pt.c
157 KB
-
pt.c (convert_nontype_argument): Move check for is_overloaded_fn early to avoid bogus error. · 7bf2682f
* pt.c (convert_nontype_argument): Move check for is_overloaded_fn early to avoid bogus error. Handle overloaded function names provided as template arguments correctly. (coerce_template_parms): Don't mishandle overloaded functions when dealing with template template parameters. (lookup_template_class): Issue an error message, rather than crashing, when the TYPE_DECL provided is not a template type. From-SVN: r17552
Mark Mitchell committed