[libc++][format] Move iterators when needed.
authorMark de Wever <koraq@xs4all.nl>
Sat, 23 Oct 2021 17:11:02 +0000 (19:11 +0200)
committerMark de Wever <koraq@xs4all.nl>
Tue, 18 Oct 2022 16:45:41 +0000 (18:45 +0200)
commit91dd07235411ec7743311298546c4f3f767930f3
treee84848322c265548219d9a46b05a7fddc4008768
parentc65513444b04df35d9bab5a3c60e9cdafe959e9a
[libc++][format] Move iterators when needed.

LWG-3539 was already implemented but not marked as done.
LWG-3567 is implemented in this commit.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D112368
libcxx/docs/Status/Cxx2bIssues.csv
libcxx/include/__format/buffer.h
libcxx/include/__format/format_context.h
libcxx/test/std/utilities/format/format.formatter/format.context/format.context/advance_to.pass.cpp
libcxx/test/std/utilities/format/format.formatter/format.context/format.context/out.pass.cpp
libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp
libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp