Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-cpp20
/ trySomething
Function
trySomething
Examples/Modules/Chapter 16/Ex16_02/Ex16_02.cpp:24–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
void trySomething(int i)
25
{
26
// There's always trouble when �trying something�...
27
if (i == 0)
28
throw Trouble {};
29
else
30
throw Trouble {
"Nobody knows the trouble I've seen..."
};
31
}
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected