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<<.
Parameters
Name |
Description |
value |
The value to format via ostream |
Created with MrDocs