Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/cobalt
/ throw_gen
Function
throw_gen
test/async_for.cpp:37–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
35
}
36
37
cobalt::generator<int> throw_gen()
38
{
39
co_yield 42;
40
throw std::runtime_error(
"throw_gen"
);
41
co_return 0;
42
}
43
44
BOOST_AUTO_TEST_SUITE(async_for);
45
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected