Removes the item at the specified index of the collection. The zero-based index of the item to remove.
| 701 | /// </summary> |
| 702 | /// <param name="index">The zero-based index of the item to remove.</param> |
| 703 | void RemoveAt(const int32 index) |
| 704 | { |
| 705 | ASSERT(index < _count && index >= 0); |
| 706 | --_count; |
| 707 | T* data = _allocation.Get(); |
| 708 | if (_count) |
| 709 | data[index] = MoveTemp(data[_count]); |
| 710 | Memory::DestructItems(data + _count, 1); |
| 711 | } |
| 712 | |
| 713 | /// <summary> |
| 714 | /// Removes the last items from the collection. |
no test coverage detected