Remove iterator dependency

This commit is contained in:
Victor Zverovich
2024-01-10 18:52:53 -08:00
parent c5340539f9
commit b71ef65b6e
4 changed files with 36 additions and 32 deletions
+1 -2
View File
@@ -431,8 +431,7 @@ class FMT_API ostream {
output to the file.
*/
template <typename... T> void print(format_string<T...> fmt, T&&... args) {
vformat_to(std::back_inserter(buffer_), fmt,
fmt::make_format_args(args...));
vformat_to(appender(buffer_), fmt, fmt::make_format_args(args...));
}
};