Skip to content

Commit c6a5057

Browse files
committed
Tweak discussion in 4281
1 parent 5784711 commit c6a5057

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

xml/issue4281.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ wouldn't be necessary if we didn't specify it with a conditional expression).
3939
The `error_or` wording also avoids using an explicit conversion when the
4040
<i>Mandates</i>: element requires implicit conversion to work anyway.
4141
We might want to rephrase the `value_or` wording to match `error_or`,
42-
or possibly make `value_or` and `error_or` even more explicit:
42+
or possibly make `value_or` and `error_or` even more explicit,
43+
specifying them in terms of `if`-`else`:
44+
:
4345
</p>
4446
<blockquote>
45-
<i>Effects</i>: Equivalent to:
46-
<pre><code>
47+
<i>Effects</i>: Equivalent to: <pre><code>
4748
if (has_value())
4849
return **this;
4950
else

0 commit comments

Comments
 (0)