| 190 | |
| 191 | private: |
| 192 | void switch_to_dynamic(size_t new_capacity) { |
| 193 | dynamic_capacity_ = new_capacity; |
| 194 | data_ = new storage_type[new_capacity]; |
| 195 | storage_type::move_construct_several_and_destroy_source(static_data_, data_, size_); |
| 196 | } |
| 197 | |
| 198 | void reallocate_dynamic(size_t new_capacity) { |
| 199 | assert(new_capacity >= size_); |
nothing calls this directly
no outgoing calls
no test coverage detected