We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5784711 commit c6a5057Copy full SHA for c6a5057
xml/issue4281.xml
@@ -39,11 +39,12 @@ wouldn't be necessary if we didn't specify it with a conditional expression).
39
The `error_or` wording also avoids using an explicit conversion when the
40
<i>Mandates</i>: element requires implicit conversion to work anyway.
41
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:
+or possibly make `value_or` and `error_or` even more explicit,
43
+specifying them in terms of `if`-`else`:
44
+:
45
</p>
46
<blockquote>
-<i>Effects</i>: Equivalent to:
-<pre><code>
47
+<i>Effects</i>: Equivalent to: <pre><code>
48
if (has_value())
49
return **this;
50
else
0 commit comments