Date: Mon, 9 Feb 2026 23:40:24 +0100
Hi Jason,
On 2026-02-09T17:22:02-0500, Jason McKesson via Std-Proposals wrote:
> > I'm working on non-ignorable attributes in ISO C2y. There seems to be
> > some consensus being built (but not yet there) that non-ignorable
> > attributes should be scoped ones (similar to vendor ones), just with
> > a standard prefix. I think the best prefix would have to be either
> > [[::attr]] or [[std::attr]].
>
> Do we really need 6-9 keystrokes just for a keyword? What you're
> talking about aren't attributes anymore; they're just namespaced
> keywords (and thus cannot conflict with existing code).
>
> Please find better syntax for new keywords.
The good thing about attributes is that placing rules are clear. If we
add new keywords, that increases syntax complexity. Using scopes
attributes, the syntax stays untouched.
Have a lovely night!
Alex
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
On 2026-02-09T17:22:02-0500, Jason McKesson via Std-Proposals wrote:
> > I'm working on non-ignorable attributes in ISO C2y. There seems to be
> > some consensus being built (but not yet there) that non-ignorable
> > attributes should be scoped ones (similar to vendor ones), just with
> > a standard prefix. I think the best prefix would have to be either
> > [[::attr]] or [[std::attr]].
>
> Do we really need 6-9 keystrokes just for a keyword? What you're
> talking about aren't attributes anymore; they're just namespaced
> keywords (and thus cannot conflict with existing code).
>
> Please find better syntax for new keywords.
The good thing about attributes is that placing rules are clear. If we
add new keywords, that increases syntax complexity. Using scopes
attributes, the syntax stays untouched.
Have a lovely night!
Alex
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
-- <https://www.alejandro-colomar.es>
Received on 2026-02-09 22:40:33
