| 1882 | } |
| 1883 | |
| 1884 | void flush() { |
| 1885 | auto size = this->size(); |
| 1886 | this->clear(); |
| 1887 | const T* begin = data_; |
| 1888 | const T* end = begin + this->limit(size); |
| 1889 | while (begin != end) *out_++ = *begin++; |
| 1890 | } |
| 1891 | |
| 1892 | public: |
| 1893 | explicit iterator_buffer(OutputIt out, size_t n = buffer_size) |