[PATCH] libstdc++: Allow for function parameters in annotations_of[_with_type] [P3795R2]

Jason Merrill jason@redhat.com
Mon Apr 6 17:10:51 GMT 2026


On 4/4/26 5:38 PM, Septicake wrote:
> This patch adds function parameters as an allowed reflection info that 
> can be passed to eval_annotations_of, and therefore the annotations_of 
> and annotations_of_with_type metafunctions, following the update from 
> P3795R2. The error message when an invalid reflection info has been 
> passed in has also been updated to reflect this change.

Thanks for the contribution!

There's already a patch in review for this, that should be committed soon:

https://inbox.sourceware.org/gcc-patches/acUfPDbhcQHP9ywS@tucnak/

Jason



More information about the Libstdc++ mailing list