Write docs.

This commit is contained in:
Victor Zverovich
2014-08-21 07:30:00 -07:00
parent da0293c4dd
commit f9561671cf
3 changed files with 23 additions and 0 deletions
+9
View File
@@ -1545,3 +1545,12 @@ TEST(FormatTest, ArgConverter) {
ArgConverter<fmt::LongLong>(arg, 'd').visit(arg);
EXPECT_EQ(Arg::LONG_LONG, arg.type);
}
#if FMT_USE_VARIADIC_TEMPLATES
template<typename... Args>
void print_error(const char *file, int line, const char *format,
const Args & ... args) {
fmt::print("{}: {}: ", file, line);
fmt::print(format, args...);
}
#endif