SUNDAY, APRIL 19, 2026 GCC DIGEST · OPEN-SOURCE SYSTEMS DAILY VOL. 1 · NO. 109
Late Edition · APRIL 19, 2026 · VOL. 1 · NO. 109
The GCC Digest
— A Daily Record of the GNU Compiler Collection —
c++/reflection Impact 5 / 10

c++/reflection: Tweak reflection_function_template_p

Improves C++ reflection by using a narrower type check for function templates.

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.

Filed Under: c++reflectioncompiler