Commit 163178ee authored by Victor Zverovich's avatar Victor Zverovich

Make print non-inline

parent ae8bc36e
......@@ -1030,6 +1030,10 @@ void fmt::print(std::FILE *f, StringRef format_str, ArgList args) {
std::fwrite(w.data(), 1, w.size(), f);
}
void fmt::print(StringRef format_str, ArgList args) {
print(stdout, format_str, args);
}
void fmt::print(std::ostream &os, StringRef format_str, ArgList args) {
Writer w;
w.write(format_str, args);
......
......@@ -2049,9 +2049,7 @@ void print(std::FILE *f, StringRef format_str, ArgList args);
print("Elapsed time: {0:.2f} seconds", 1.23);
\endrst
*/
inline void print(StringRef format_str, ArgList args) {
print(stdout, format_str, args);
}
void print(StringRef format_str, ArgList args);
/**
\rst
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment