fmt::streamed

Returns a view that formats value via an ostream operator<<.

Synopsis

Declared in <fmt/ostream.h>
template<typename T>
constexpr
/* implementation-defined */
streamed(T const& value);

Description

Example:

fmt::print("Current thread id: {}n", fmt::streamed(std::this_thread::get_id()));

Return Value

a view that formats value via an ostream operator<<.

Created with MrDocs