| 2017 | using value_type = typename Container::value_type; |
| 2018 | |
| 2019 | static FMT_CONSTEXPR void grow(buffer<value_type>& buf, size_t capacity) { |
| 2020 | auto& self = static_cast<container_buffer&>(buf); |
| 2021 | self.container.resize(capacity); |
| 2022 | self.set(&self.container[0], capacity); |
| 2023 | } |
| 2024 | |
| 2025 | public: |
| 2026 | Container& container; |