Initializes this pointer’s memory with a single instance of the given value.
- Xcode 9.3+
- Swift Standard Library
The instance to initialize this pointer’s pointee to.
The destination memory must be uninitialized or the pointer’s
Pointee must be a trivial type. After a call to
initialize(to:), the memory referenced by this pointer is initialized. Calling this method is roughly equivalent to calling
initialize(repeating: with a
count of 1.