Improves C++ reflection by using a narrower type check for function templates.
By Marek PolacekApril 16, 2026committed
This commit modifies the reflection_function_template_p function to use DECL_FUNCTION_TEMPLATE_P instead of really_overloaded_fn for a more precise check. It also adjusts the parameter type to const_tree and unwraps BASELINKs and OVERLOADs.