MCPcopy 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
17int 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

divideFunction · 0.85

Tested by

no test coverage detected