C++ Logo

sg7

Advanced search

Re: [isocpp-sg7] P0707

From: Hana Dusíková <hanicka_at_[hidden]>
Date: Tue, 22 Oct 2024 20:38:03 +0200
Semantically an annotation adds something to an entity, so I can see it as a syntactic sugar over decorators.

But it's was just a nudge, not a wish.

Hana

> On 22. 10. 2024, at 18:32, Peter Dimov via SG7 <sg7_at_[hidden]> wrote:
>
> Hana Dusíková wrote:
>
>> And suddenly we are in land of custom reflection annotation (p3394), is there
>> a way how integrate these two together?
>
> Many are suggesting this, but I'm not fond of the idea. Annotations are static
> markers, decorators are consteval functions manipulating the entity; these two
> aren't the same thing and I'd rather not see them integrated.
>
>
> --
> SG7 mailing list
> SG7_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg7

Received on 2024-10-22 18:38:21