|
FE 0.9.0
Header-only C++ frontend library
|
Wrap a callable f(std::ostream&) -> std::ostream& so it streams via operator<< and std::format. More...
#include <fe/format.h>
Public Member Functions | |
| constexpr | StreamFn (F f) |
Friends | |
| std::ostream & | operator<< (std::ostream &os, StreamFn const &s) |
Wrap a callable f(std::ostream&) -> std::ostream& so it streams via operator<< and std::format.
Useful for inline ad-hoc formatting:
|
inlineconstexpr |
Definition at line 31 of file format.h.
Referenced by operator<<.
|
friend |
Definition at line 34 of file format.h.
References StreamFn().