Use range_begin/end to get formatted range iterators
This commit is contained in:
parent
f6bcb25e16
commit
f7510c5930
@ -402,8 +402,8 @@ struct formatter<
|
||||
auto out = ctx.out();
|
||||
*out++ = prefix;
|
||||
int i = 0;
|
||||
auto it = std::begin(range);
|
||||
auto end = std::end(range);
|
||||
auto it = detail::range_begin(range);
|
||||
auto end = detail::range_end(range);
|
||||
for (; it != end; ++it) {
|
||||
if (i > 0) out = detail::write_delimiter(out);
|
||||
if (custom_specs_) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user