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

Function g

tests/p1938.cpp:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3consteval int f(int i) { return i; }
4
5constexpr int g(int i) {
6 if consteval {
7 return f(i) + 1;
8 } else {
9 return 42;
10 }
11}
12
13
14constexpr int Fun(int i) {

Callers 1

mainFunction · 0.70

Calls 1

fFunction · 0.70

Tested by

no test coverage detected