Make print non-inline

This commit is contained in:
Victor Zverovich 2014-09-25 07:08:25 -07:00
parent ae8bc36e57
commit 163178eee1
2 changed files with 5 additions and 3 deletions

View File

@ -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);

View File

@ -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