Fix ostream support in sprintf (#1631)

This commit is contained in:
Victor Zverovich
2020-04-12 07:53:17 -07:00
parent 3cd5179f32
commit e99809f29d
6 changed files with 48 additions and 18 deletions
+3 -2
View File
@@ -2260,8 +2260,9 @@ struct test_parse_context {
};
struct test_context {
typedef char char_type;
typedef fmt::basic_format_arg<test_context> format_arg;
using char_type = char;
using format_arg = fmt::basic_format_arg<test_context>;
using parse_context_type = fmt::format_parse_context;
template <typename T> struct formatter_type {
typedef fmt::formatter<T, char_type> type;