mirror of
https://github.com/boostorg/asio.git
synced 2026-01-26 18:22:09 +00:00
This change allows us to write:
co_spawn(executor,
echo(std::move(socket)),
detached);
instead of:
co_spawn(executor,
[socket = std::move(socket)]() mutable
{
return echo(std::move(socket));
},
detached);