File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 9015
9015
9016
9016
\rSec 2[dcl.attr.assume]{Assumption attribute}
9017
9017
9018
- % FIXME: Shouldn't there be a pnum here?
9018
+ \ pnum
9019
9019
The \grammarterm {attribute-token} \tcode {assume} may be applied to a null statement;
9020
9020
such a statement is an \defn {assumption}.
9021
9021
An \grammarterm {attribute-argument-clause} shall be present and
9030
9030
the assumption has no effect.
9031
9031
Otherwise,
9032
9032
evaluation of the assumption has runtime-undefined behavior.
9033
+
9034
+ \pnum
9033
9035
\begin {note }
9034
9036
The expression is potentially evaluated\iref {basic.def.odr }.
9035
9037
The use of assumptions is intended to allow implementations
9043
9045
if an implementation does not attempt to deduce
9044
9046
any such information from assumptions.
9045
9047
\end {note }
9048
+
9049
+ \pnum
9046
9050
\begin {example }
9047
9051
\begin {codeblock }
9048
9052
int divide_by_32(int x) {
You can’t perform that action at this time.
0 commit comments