| 770 | } |
| 771 | |
| 772 | void remove_at(size_type index) |
| 773 | { |
| 774 | se_assert(index < size_); |
| 775 | |
| 776 | if (index + 1 < size_) { |
| 777 | buf_[index] = std::move(buf_[size_ - 1]); |
| 778 | } |
| 779 | |
| 780 | buf_[size_ - 1].~T(); |
| 781 | size_--; |
| 782 | } |
| 783 | |
| 784 | void ordered_remove_at(size_type index) |
| 785 | { |