24#include <seastar/core/sstring.hh>
26#include <fmt/format.h>
40template <
typename... A>
42format(fmt::format_string<A...> fmt, A&&... a) {
43 fmt::memory_buffer out;
44 fmt::format_to(fmt::appender(out), fmt, std::forward<A>(a)...);
45 return sstring{out.data(), out.size()};
Seastar API namespace.
Definition: abort_on_ebadf.hh:26
sstring format(fmt::format_string< A... > fmt, A &&... a)
Definition: format.hh:42