context_base::begin -> out
This commit is contained in:
@@ -112,12 +112,12 @@ struct formatter<T, Char,
|
||||
: formatter<basic_string_view<Char>, Char> {
|
||||
|
||||
template <typename Context>
|
||||
auto format(const T &value, Context &ctx) -> decltype(ctx.begin()) {
|
||||
auto format(const T &value, Context &ctx) -> decltype(ctx.out()) {
|
||||
basic_memory_buffer<Char> buffer;
|
||||
internal::format_value(buffer, value);
|
||||
basic_string_view<Char> str(buffer.data(), buffer.size());
|
||||
formatter<basic_string_view<Char>, Char>::format(str, ctx);
|
||||
return ctx.begin();
|
||||
return ctx.out();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user