NR
Size: a a a
S
S
A😿
NR
A😿
NR
A😿
A😿
r
1
PB
1
PB
A😿
#include <cppcoro/generator.hpp>
cppcoro::generator<std::string> produce_items()
{
while (true)
{
auto v = rand();
using namespace std::string_literals;
auto i = "item "s + std::to_string(v);
print_time();
std::cout << "produced " << i << '\n';
co_yield i;
}
}
A😿