Sets all items to the given value The value to assign to all the collection items.
| 431 | /// </summary> |
| 432 | /// <param name="value">The value to assign to all the collection items.</param> |
| 433 | void SetAll(const T& value) |
| 434 | { |
| 435 | T* data = _allocation.Get(); |
| 436 | for (int32 i = 0; i < _count; i++) |
| 437 | data[i] = value; |
| 438 | } |
| 439 | |
| 440 | /// <summary> |
| 441 | /// Sets the collection data. |
no test coverage detected