Tries resizing the buffer to contain `count` elements. If T is a POD type the new elements may not be initialized.
| 1801 | // Tries resizing the buffer to contain `count` elements. If T is a POD type |
| 1802 | // the new elements may not be initialized. |
| 1803 | FMT_CONSTEXPR void try_resize(size_t count) { |
| 1804 | try_reserve(count); |
| 1805 | size_ = min_of(count, capacity_); |
| 1806 | } |
| 1807 | |
| 1808 | // Tries increasing the buffer capacity to `new_capacity`. It can increase the |
| 1809 | // capacity by a smaller amount than requested but guarantees there is space |
nothing calls this directly
no test coverage detected