MCPcopy Create free account
hub / github.com/boostorg/cobalt / test_generator

Function test_generator

example/python.cpp:288–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286};
287
288cobalt::generator<int> test_generator()
289{
290 for (auto i = 1; i < 10; i++)
291 co_yield i;
292 co_return 10;
293}
294
295cobalt::promise<int> test_promise()
296{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected