|
microfmt
Zero-allocation C++ formatting for constrained environments
|
C++20 coroutine awaitables for zero-allocation async formatting and writing over Boost.Asio streams. More...
#include "../microfmt.hpp"#include "../reloco.hpp"#include "asio_sink.hpp"#include <boost/asio/awaitable.hpp>#include <boost/asio/use_awaitable.hpp>#include <boost/asio/write.hpp>#include <cstddef>#include <utility>
Go to the source code of this file.
Namespaces | |
| namespace | microfmt |
| namespace | microfmt::coro |
Functions | |
| template<typename Stream , std::size_t StackSize = 256, typename... Args> | |
| boost::asio::awaitable< std::size_t > | microfmt::coro::async_format_to (Stream &stream, string_view fmt, Args &&...args) |
| Formats a message directly into a stack buffer and asynchronously writes it to a Boost.Asio stream. | |
C++20 coroutine awaitables for zero-allocation async formatting and writing over Boost.Asio streams.