Retrieves and returns the referenced instance, returning the pointer’s memory to an uninitialized state.
- Xcode 6.0.1+
- Swift Standard Library
The instance referenced by this pointer.
move() method on a pointer
p that references memory of type
T is equivalent to the following code, aside from any cost and incidental side effects of copying and destroying the value:
The memory referenced by this pointer must be initialized. After calling
move(), the memory is uninitialized.