We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fda0527 commit f24f2ceCopy full SHA for f24f2ce
1 file changed
src/string19.lib/string19/StringView.fmt.h
@@ -11,7 +11,7 @@ template<class char_type> struct formatter<string19::StringView, char_type> {
11
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
12
13
template<typename FormatCtx> auto format(const string19::StringView& v, FormatCtx& ctx) {
14
- auto out = ctx.begin();
+ auto out = ctx.out();
15
for (auto i = 0u; i < v.count; i++) *out++ = v[i];
16
return out;
17
}
0 commit comments