MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / Fun

Function Fun

tests/p1938.cpp:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14constexpr int Fun(int i) {
15 if not consteval {
16 return 42;
17 } else {
18 return f(i) + 1;
19 }
20}
21
22consteval int h(int i) {
23 return f(i) + Fun(i);

Callers 4

AMethod · 0.70
mainFunction · 0.70
hFunction · 0.70
mainFunction · 0.70

Calls 1

fFunction · 0.70

Tested by 3

AMethod · 0.56
mainFunction · 0.56
mainFunction · 0.56