You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expect the "this" object and the function argument to be constants of the
@@ -524,27 +523,27 @@ operation fails for some reason (e.g., the types are different),
524
523
525
524
<h5>Testing common expressions</h5>
526
525
527
-
<pre>
528
-
bool is_constant() const;
529
-
</pre>
526
+
<pre><code class="c++">bool is_constant() const;
527
+
</code></pre>
530
528
531
529
<p class="justified">
532
530
Returns true if the expression label is "constant".
531
+
</p>
533
532
534
-
<pre>
535
-
bool is_boolean() const;
536
-
</pre>
533
+
<pre><code class="c++">bool is_boolean() const;
534
+
</code></pre>
537
535
538
536
<p class="justified">
539
537
Returns true if the label of the type is "bool".
540
538
541
-
<pre>
542
-
bool is_false() const;
539
+
<pre><code class="c++">bool is_false() const;
543
540
bool is_true() const;
544
-
</pre>
541
+
</code></pre>
545
542
546
543
<p class="justified">
547
-
The first function returns true if the expression is a boolean constant with value "false". The second function returns true for any boolean constant that is not of value "false".
544
+
The first function returns true if the expression is a boolean constant with
545
+
value "false". The second function returns true for any boolean constant
546
+
that is not of value "false".
548
547
</p>
549
548
550
549
<pre>
@@ -591,15 +590,15 @@ for edge access or other specialized behaviour:
0 commit comments