C++ Logo

liaison

Advanced search

[isocpp-wg14/wg21-liaison] Attributes on expressions

From: Jₑₙₛ Gustedt <jens.gustedt_at_[hidden]>
Date: Sun, 5 Jul 2026 10:54:29 +0200
Hi,
apologies again that I will not be able to make it to the meeting.

on Sun, 28 Jun 2026 10:25:22 +0200 you (Jan Schultke
<janschultke_at_[hidden]>) wrote:

> - P3093R0
> <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p3093r0.html>
> Attributes
> on expressions (Giuseppe D'Angelo)

I like the paper and think that the chosen syntax is a good one. That
is definitively material that we should prospect putting into C,
too. (But we'd need implementations, first.)

The paper seems to be incomplete, but maybe I overlooked an
explanation for this: I think there should also be wording that adds
this new possibility to some standard attributes. For C come to mind
all standard attributes with the exeption of `[[fallthrough]]`, but
C++ has probably more attributes that would be interesting on
expressions.

I get it, that some of these standard attributes would need discussion
in a separate paper to clarify the semantics, but others should be
quite direct.


Thanks
Jₑₙₛ

-- 
:: ICube :::::::::::::::::::::::::::::: deputy director ::
:: Université de Strasbourg :::::::::::::::::::::: ICPS ::
:: INRIA antenne de Strasbourg :::::::::::::::::: Camus ::
:: INRIA PIQ program Strasbourg :::::::::: piq.inria.fr ::
:: :::::::::::::::::::::::::::::::::::: ☎ +33 368854536 ::
:: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

Received on 2026-07-05 08:54:33