mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Restore deprecated begin()
This commit is contained in:
@ -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; }
|
||||||
|
Reference in New Issue
Block a user