Destroys all of the elements in |small_data_| that have been constructed.
| 456 | |
| 457 | // Destroys all of the elements in |small_data_| that have been constructed. |
| 458 | void DestructSmallData() { |
| 459 | for (size_t i = 0; i < size_; ++i) { |
| 460 | small_data_[i].~T(); |
| 461 | } |
| 462 | size_ = 0; |
| 463 | } |
| 464 | |
| 465 | // The number of elements in |small_data_| that have been constructed. |
| 466 | size_t size_; |