Sets the buffer data and capacity. */
| 659 | |
| 660 | /** Sets the buffer data and capacity. */ |
| 661 | void set(T* buf_data, std::size_t buf_capacity) FMT_NOEXCEPT { |
| 662 | ptr_ = buf_data; |
| 663 | capacity_ = buf_capacity; |
| 664 | } |
| 665 | |
| 666 | /** Increases the buffer capacity to hold at least *capacity* elements. */ |
| 667 | virtual void grow(std::size_t capacity) = 0; |
no outgoing calls
no test coverage detected