Takes a streamable argument and returns an object that can print it with '%s'.
Declared in <absl/strings/str_format.h>
template<typename T>
str_format_internal::StreamedWrapper<T>
FormatStreamed(T const& v);
Allows printing of types that have an operator<< but no intrinsic type support within StrFormat() itself.
Example:
absl::StrFormat("%s", absl::FormatStreamed(obj));
A wrapper that formats v using its stream operator.
| Name | Description |
|---|---|
| v | The streamable value to wrap. |