| 174 | constexpr size_t max_size() const { return std::numeric_limits<size_t>::max(); } |
| 175 | |
| 176 | void reserve(size_t n) { |
| 177 | if (dynamic_capacity_) { |
| 178 | if (n > dynamic_capacity_) { |
| 179 | reallocate_dynamic(n); |
| 180 | } |
| 181 | } else if (n > N) { |
| 182 | switch_to_dynamic(n); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | void clear() { |
| 187 | storage_type::destroy_several(data_, size_); |
nothing calls this directly
no outgoing calls
no test coverage detected