![]() |
WPILibC++ 2025.3.2
|
Go to the source code of this file.
Classes | |
| class | detail::file_access< Tag, BufType, FileMemberPtr > |
| struct | detail::streamed_view< T > |
| struct | basic_ostream_formatter< Char > |
| struct | formatter< detail::streamed_view< T >, Char > |
Namespaces | |
| namespace | detail |
| detail namespace with internal helper functions | |
Macros | |
| #define | FMT_MSVC_STL_UPDATE 0 |
Typedefs | |
| using | ostream_formatter = basic_ostream_formatter<char> |
Functions | |
| template<typename Char > | |
| void | detail::write_buffer (std::basic_ostream< Char > &os, buffer< Char > &buf) |
| template<typename T > | |
| constexpr auto | streamed (const T &value) -> detail::streamed_view< T > |
Returns a view that formats value via an ostream operator<<. | |
| void | vprint (std::ostream &os, string_view fmt, format_args args) |
| template<typename... T> | |
| FMT_EXPORT void | print (std::ostream &os, format_string< T... > fmt, T &&... args) |
Prints formatted data to the stream os. | |
| template<typename... T> | |
| FMT_EXPORT void | println (std::ostream &os, format_string< T... > fmt, T &&... args) |
| #define FMT_MSVC_STL_UPDATE 0 |
| using ostream_formatter = basic_ostream_formatter<char> |
| FMT_EXPORT void print | ( | std::ostream & | os, |
| format_string< T... > | fmt, | ||
| T &&... | args ) |
Prints formatted data to the stream os.
Example:
fmt::print(cerr, "Don't {}!", "panic");
| FMT_EXPORT void println | ( | std::ostream & | os, |
| format_string< T... > | fmt, | ||
| T &&... | args ) |
|
constexpr |
Returns a view that formats value via an ostream operator<<.
Example:
fmt::print("Current thread id: {}\n",
fmt::streamed(std::this_thread::get_id()));
|
inline |