Contents

pointee

Retrieve or set the Pointee instance referenced by self.

Declaration

var pointee: Pointee { get nonmutating set }

Discussion

AutoreleasingUnsafeMutablePointer is assumed to reference a value with __autoreleasing ownership semantics, like NSFoo ** declarations in ARC. Setting the pointee autoreleases the new value before trivially storing it in the referenced memory.

See Also

Accessing a Pointer’s Memory