Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ my_exception
Class
my_exception
test/exception_test.cpp:39–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
};
38
39
struct my_exception:
40
std::exception,
41
abstract_base_exception
42
{
43
int val;;
44
explicit my_exception(int v): val{v} { }
45
int get_val() const { return val; }
46
};
47
48
int get_val( abstract_base_exception const & ex )
49
{
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
1
main
Function · 0.56