Skip to content

Commit 0cc4c42

Browse files
committed
Improve wording according to Bloomington request
1 parent f7c928b commit 0cc4c42

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

xml/issue2035.xml

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,19 @@ redundancies vs. applying a consistent level of redundant specification in all t
8181
Wording clean-up in either direction would be welcome.
8282
</p>
8383

84+
<note>2011-08-18: Daniel adapts the proposed resolution to honor the Bloomington request</note>
85+
86+
<p>
87+
There is only a small number of further changes suggested to get rid of superfluous
88+
requirements and essentially non-normative assertions. Operations should not have extra
89+
pre-conditions, if defined by "in-terms-of" semantics, see e.g. <tt>a != b</tt> or <tt>a-&gt;m</tt>
90+
for Table 107. Further, some remarks, that do not impose anything or say nothing new have been removed,
91+
because I could not find anything helpful they provide.
92+
E.g. consider the remarks for Table 108 for the operations dereference-assignment and
93+
preincrement: They don't provide additional information say nothing surprising. With the
94+
new pre-conditions <em>and</em> post-conditions it is implied what the remarks intend to say.
95+
</p>
96+
8497
</discussion>
8598

8699
<resolution>
@@ -228,8 +241,8 @@ that are not associated with any sequence. [&hellip;]
228241
<td>contextually<br/>
229242
convertible to <tt>bool</tt></td>
230243
<td><tt>!(a == b)</tt></td>
231-
<td>pre: <tt>(a, b)</tt> is in the domain<br/>
232-
of <tt>==</tt>.
244+
<td><del>pre: <tt>(a, b)</tt> is in the domain<br/>
245+
of <tt>==</tt>.</del>
233246
</td>
234247
</tr>
235248

@@ -251,8 +264,7 @@ equivalent to <tt>*b</tt>.
251264
<td><tt>a-&gt;m</tt></td>
252265
<td><tt>&nbsp;</tt></td>
253266
<td><tt>(*a).m</tt></td>
254-
<td>pre: <tt>a</tt> is dereferenceable.
255-
</td>
267+
<td><del>pre: <tt>a</tt> is dereferenceable.</del></td>
256268
</tr>
257269

258270
<tr>
@@ -311,9 +323,9 @@ return tmp; }
311323
<td>result is not used</td>
312324
<td><tt>&nbsp;</tt></td>
313325
<td><ins>pre: <tt>r</tt> is dereferenceable.</ins><br/>
314-
<i>Remark</i>: After this operation<br/>
326+
<del><i>Remark</i>: After this operation<br/>
315327
<tt>r</tt> is not required to be<br/>
316-
dereferenceable.<br/>
328+
dereferenceable.</del><br/>
317329
post: <tt>r</tt> is incrementable.
318330
</td>
319331
</tr>
@@ -324,10 +336,11 @@ post: <tt>r</tt> is incrementable.
324336
<td><tt>&nbsp;</tt></td>
325337
<td><ins>pre: <tt>r</tt> is incrementable.</ins><br/>
326338
<tt>&amp;r == &amp;++r</tt>.<br/>
327-
<i>Remark</i>: After this operation<br/>
339+
<del><i>Remark</i>: After this operation<br/>
328340
<tt>r</tt> is not required to be<br/>
329-
dereferenceable <ins>or incrementable</ins>.<br/>
330-
<del>post: <tt>r</tt> is incrementable.</del>
341+
dereferenceable.</del><br/>
342+
post: <tt>r</tt> is <ins>dereferenceable<br/>
343+
or <tt>r</tt> is past-the-end</ins><del>incrementable</del>.
331344
</td>
332345
</tr>
333346

@@ -338,21 +351,21 @@ dereferenceable <ins>or incrementable</ins>.<br/>
338351
++r;<br/>
339352
return tmp; }</tt>
340353
</td>
341-
<td><i>Remark</i>: After this operation<br/>
354+
<td><del><i>Remark</i>: After this operation<br/>
342355
<tt>r</tt> is not required to be<br/>
343-
dereferenceable <ins>or incrementable</ins>.<br/>
344-
<del>post: <tt>r</tt> is incrementable.</del>
356+
dereferenceable.<br/>
357+
post: <tt>r</tt> is incrementable.</del>
345358
</td>
346359
</tr>
347360

348361
<tr>
349362
<td><tt>*r++ = o</tt></td>
350363
<td>result is not used</td>
351364
<td><ins><tt>{ *r = o; ++r; }</tt></ins></td>
352-
<td><i>Remark</i>: After this operation<br/>
365+
<td><del><i>Remark</i>: After this operation<br/>
353366
<tt>r</tt> is not required to be<br/>
354-
dereferenceable <ins>or incrementable</ins>.<br/>
355-
<del>post: <tt>r</tt> is incrementable.</del>
367+
dereferenceable.<br/>
368+
post: <tt>r</tt> is incrementable.</del>
356369
</td>
357370
</tr>
358371
</table>

0 commit comments

Comments
 (0)