logoalt Hacker News

glownagger • today at 12:02 PM • 1 reply • view on HN

I thought attributes were reserved for compiler-specific semantics like calling conventions. Here they're just being used as stropping for a language feature with syntactic significance!


Replies

leni536 • today at 12:49 PM

It's not an attribute, it's an annotation. Annotations start with [[= .

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p33...