File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3267,8 +3267,11 @@ void _Range_formatter_format_as_sequence(const formatter<_Ty, _CharT>& _Underlyi
32673267 const basic_string_view<_CharT> _Separator, const basic_string_view<_CharT> _Opening_bracket,
32683268 const basic_string_view<_CharT> _Closing_bracket, _Range&& _Rng, _FormatContext& _Ctx) {
32693269 _Ctx.advance_to(_STD _Fmt_write(_Ctx.out(), _Opening_bracket));
3270- bool _Separate = false;
3271- for (auto&& _Elem : _Rng) {
3270+ bool _Separate = false;
3271+ auto _Iter = _RANGES begin(_Rng);
3272+ const auto _Sent = _RANGES end(_Rng);
3273+ for (; _Iter != _Sent; ++_Iter) {
3274+ auto&& _Elem = *_Iter;
32723275 if (_Separate) {
32733276 _Ctx.advance_to(_STD _Fmt_write(_Ctx.out(), _Separator));
32743277 }
You can’t perform that action at this time.
0 commit comments