Skip to content

Commit 3225669

Browse files
burblebeetkoeppe
authored andcommitted
CWG2695 Semantic ignorability of attributes
1 parent 224f6ba commit 3225669

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source/declarations.tex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8511,6 +8511,17 @@
85118511
the rules specifying to which entity or statement the attribute can apply or
85128512
the syntax rules for the attribute's \grammarterm{attribute-argument-clause}, if any.
85138513
\end{note}
8514+
\begin{note}
8515+
The \grammarterm{attribute}{s} specified in \ref{dcl.attr}
8516+
have optional semantics:
8517+
given a well-formed program,
8518+
removing all instances of any one of those \grammarterm{attribute}{s}
8519+
results in a program whose set of possible executions\iref{intro.abstract}
8520+
for a given input is
8521+
a subset of those of the original program for the same input,
8522+
absent implementation-defined guarantees
8523+
with respect to that \grammarterm{attribute}.
8524+
\end{note}
85148525
An \grammarterm{attribute-token} is reserved for future standardization if
85158526
\begin{itemize}
85168527
\item it is not an \grammarterm{attribute-scoped-token} and

0 commit comments

Comments
 (0)