From Jason Turner

[meta.const.eval]

Diff to HTML by rtfpessoa

tmp/tmpu14ingns/{from.md → to.md} RENAMED
@@ -2,13 +2,19 @@
2
 
3
  ``` cpp
4
  constexpr bool is_constant_evaluated() noexcept;
5
  ```
6
 
7
- *Returns:* `true` if and only if evaluation of the call occurs within
8
- the evaluation of an expression or conversion that is manifestly
9
- constant-evaluated [[expr.const]].
 
 
 
 
 
 
10
 
11
  [*Example 1*:
12
 
13
  ``` cpp
14
  constexpr void f(unsigned char *p, int n) {
 
2
 
3
  ``` cpp
4
  constexpr bool is_constant_evaluated() noexcept;
5
  ```
6
 
7
+ *Effects:* Equivalent to:
8
+
9
+ ``` cpp
10
+ if consteval {
11
+ return true;
12
+ } else {
13
+ return false;
14
+ }
15
+ ```
16
 
17
  [*Example 1*:
18
 
19
  ``` cpp
20
  constexpr void f(unsigned char *p, int n) {