Replaces this pointer’s memory with the specified number of consecutive copies of the given value.
- Xcode 9.3+
- Swift Standard Library
The instance to assign this pointer’s memory to.
The number of consecutive copies of
countmust not be negative.
The region of memory starting at this pointer and covering
count instances of the pointer’s
Pointee type must be initialized or
Pointee must be a trivial type. After calling
assign(repeating:, the region is initialized.