Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/programming-with-cpp20
/ main
Function
main
12.04-constexprThrow0/main.cpp:17–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
}
16
17
int main()
18
{
19
constexpr auto goodConstexpr = divide(3, 2); // #B constexpr path
20
auto badRunTime = divide(3, 0); // #C run-time path
21
}
Callers
nothing calls this directly
Calls
1
divide
Function · 0.85
Tested by
no test coverage detected