Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
constexpr int Fun(int i) {
15
if not consteval {
16
return 42;
17
} else {
18
return f(i) + 1;
19
}
20
}
21
22
consteval int h(int i) {
23
return f(i) + Fun(i);
Callers
4
A
Method · 0.70
main
Function · 0.70
h
Function · 0.70
main
Function · 0.70
Calls
1
f
Function · 0.70
Tested by
3
A
Method · 0.56
main
Function · 0.56
main
Function · 0.56