Skip to content

Commit a324965

Browse files
committed
fixups: addressed feedback from Jens
1 parent 79c01cd commit a324965

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/expressions.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@
12831283
If the expression \tcode{this}
12841284
appears within the predicate of a contract assertion\iref{basic.contract.general}
12851285
(including as the result of an implicit transformation\iref{expr.prim.id.general}
1286-
and including in the bodies of nested \grammarterm{lambda-expression}s), %JMB: I think this is hard to parse, and lori suggested removing the second comma. It's "If (X including Y) and Z then A" but we have "If X and Y, and Z, then A". Should we make this "If X (including Y) and Z, A"
1286+
and including in the bodies of nested \grammarterm{lambda-expression}s)
12871287
and the current class
12881288
encloses the contract assertion,
12891289
\keyword{const} is combined with the \grammarterm{cv-qualifier-seq}
@@ -1402,7 +1402,7 @@
14021402
If this transformation occurs
14031403
in the predicate of a precondition assertion of a constructor of \tcode{X}
14041404
or a postcondition assertion of a destructor of \tcode{X},
1405-
the expression is ill-formed. %JMB: Should we add an xref to dcl.contract.func?
1405+
the expression is ill-formed.
14061406
\begin{note}
14071407
If \tcode{C} is not \tcode{X} or a base class of \tcode{X},
14081408
the class member access expression is ill-formed.
@@ -3614,7 +3614,7 @@
36143614
initialized\iref{dcl.init,class.copy.ctor} with
36153615
its corresponding argument,
36163616
and each precondition assertion of the function
3617-
is evaluated. %JMB: should we have an xref to dcl.contract.func here?
3617+
is evaluated.\iref{dcl.contract.func}
36183618
If the function is an explicit object member function and
36193619
there is an implied object argument\iref{over.call.func},
36203620
the list of provided arguments is preceded by the implied object argument
@@ -3674,7 +3674,7 @@
36743674
The \grammarterm{postfix-expression} is sequenced before
36753675
each \grammarterm{expression} in the \grammarterm{expression-list}
36763676
and any default argument.
3677-
The initialization of a parameter or, %JMB: do we need a comma before the or too?
3677+
The initialization of a parameter or,
36783678
if the implementation introduces any temporary objects
36793679
to hold the values of function parameters\iref{class.temporary},
36803680
the initialization of those temporaries,
@@ -7864,7 +7864,7 @@
78647864
the full-expression of its initialization is a constant expression
78657865
when interpreted as a \grammarterm{constant-expression}
78667866
with all contract assertions
7867-
using the ignore evaluation semantic\iref{basic.contract.eval}, and %JMB: Should we remove this "and", there are 3 bullets?
7867+
using the ignore evaluation semantic\iref{basic.contract.eval},
78687868
\begin{note}
78697869
Within this evaluation,
78707870
\tcode{std::is_constant_evaluated()}\iref{meta.const.eval}

0 commit comments

Comments
 (0)