Make buffer_context an alias template

This commit is contained in:
Victor Zverovich
2019-06-02 18:28:49 -07:00
parent ec6651087d
commit d54e64b3c8
8 changed files with 50 additions and 57 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ struct convert_to_int<
template <typename Char>
void vprint(std::basic_ostream<Char>& os, basic_string_view<Char> format_str,
basic_format_args<typename buffer_context<Char>::type> args) {
basic_format_args<buffer_context<Char>> args) {
basic_memory_buffer<Char> buffer;
internal::vformat_to(buffer, format_str, args);
internal::write(os, buffer);