Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ my_exception
Class
my_exception
test/try_exception_and_result_test.cpp:33–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
template <int> struct info { int value; };
32
33
struct my_exception: std::exception
34
{
35
int value;
36
37
my_exception():
38
value(0)
39
{
40
}
41
42
my_exception(int v):
43
value(v)
44
{
45
}
46
};
47
48
int main()
49
{
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
1
main
Function · 0.56