Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThePhD/sol2
/ func_throw
Function
func_throw
tests/exceptions/source/functions.cpp:34–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
inline constexpr const std::string_view special_string =
"Whoopsie [expected]"
;
33
34
static void func_throw() {
35
throw std::runtime_error(special_string.data());
36
}
37
38
struct some_class {
39
void mem_func_throw() {
Callers
1
functions.cpp
File · 0.85
Calls
1
data
Method · 0.45
Tested by
no test coverage detected