mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Restore deprecated begin()
This commit is contained in:
parent
5b0006476a
commit
c5aad69f2a
@ -1123,6 +1123,7 @@ template <typename OutputIt, typename Char> class basic_format_context {
|
|||||||
|
|
||||||
// Returns an iterator to the beginning of the output range.
|
// Returns an iterator to the beginning of the output range.
|
||||||
iterator out() { return out_; }
|
iterator out() { return out_; }
|
||||||
|
FMT_DEPRECATED iterator begin() { return out_; }
|
||||||
|
|
||||||
// Advances the begin iterator to ``it``.
|
// Advances the begin iterator to ``it``.
|
||||||
void advance_to(iterator it) { out_ = it; }
|
void advance_to(iterator it) { out_ = it; }
|
||||||
|
Loading…
Reference in New Issue
Block a user