]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Simplify __format::_Sink::_M_reset
authorJonathan Wakely <jwakely@redhat.com>
Thu, 17 Aug 2023 17:35:06 +0000 (18:35 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 1 Sep 2023 08:55:48 +0000 (09:55 +0100)
commit17a371d05a796ba8df0300afa4ddc3bdef523f9a
treeeca680d97e346a6b565006d2db17734949f7a892
parented60ffd814c86a225a4586da649f6e76718490db
libstdc++: Simplify __format::_Sink::_M_reset

Using an offset as the second argument instead of an iterator makes it
easier for callers, as they don't need to create an lvalue span in order
to get an iterator from it for the _M_reset call.

libstdc++-v3/ChangeLog:

* include/std/format (__format::_Sink::_M_reset): Change second
argument from iterator to offset.
libstdc++-v3/include/std/format
This page took 0.070393 seconds and 6 git commands to generate.