[PATCH] libstdc++: Allow for function parameters in annotations_of[_with_type] [P3795R2]
Septicake
septicake056@gmail.com
Mon Apr 6 17:47:02 GMT 2026
> There's already a patch in review for this, that should be committed soon:
>
> https://inbox.sourceware.org/gcc-patches/acUfPDbhcQHP9ywS@tucnak/
Ah, fair enough, it seems to handle it better anyway. Thanks for
pointing it out to me!
________________________________
From: Jason Merrill <jason@redhat.com>
Sent: Monday, April 6, 2026 1:10 PM
To: Septicake <septicake056@gmail.com>; libstdc++@gcc.gnu.org <libstdc++@gcc.gnu.org>; gcc-patches@gcc.gnu.org <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] libstdc++: Allow for function parameters in annotations_of[_with_type] [P3795R2]
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260406/3ad8b34c/attachment.htm>
More information about the Libstdc++
mailing list