Restore deprecated begin()

This commit is contained in:
Victor Zverovich 2019-02-15 15:00:02 -08:00
parent 5b0006476a
commit c5aad69f2a

View File

@ -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; }