| 634 | small_vector_impl(const small_vector_impl &) = delete; |
| 635 | |
| 636 | ~small_vector_impl() { |
| 637 | // Subclass has already destructed this vector's elements. |
| 638 | // If this wasn't grown from the inline copy, deallocate the old space. |
| 639 | if (!this->isSmall()) free(this->begin()); |
| 640 | } |
| 641 | |
| 642 | void clear() { |
| 643 | this->destroy_range(this->begin(), this->end()); |