Boost logo

Boost :

From: Andrzej Krzemienski (akrzemi1_at_[hidden])
Date: 2021-12-31 00:21:39

Hi Everyone,
I need some help in reading the ASIO docs.
I am looking at the following example from the docs

It calls one of the overloads of async_write in line

co_await async_write(socket, boost::asio::buffer(data, n), use_awaitable);

The reference section lists eight overloads:

But it is still impossible for me to figure out which one it is.

`use_awaitable` is documented as "completion token" in

There is some mention of completion token at

So I would expect the name `CompletionToken` to appear in the documentation
of `async_write`. Am I missing something?


Boost list run by bdawes at, gregod at, cpdaniel at, john at