encodeAtomicOptionalRepresentation(_:)
Destroys a value of Self and prepares an AtomicOptionalRepresentation storage type to be used for atomic operations on Optional.
Declaration
static func encodeAtomicOptionalRepresentation(_ value: consuming UnsafeMutablePointer<Pointee>?) -> UnsafeMutablePointer<Pointee>.AtomicOptionalRepresentationParameters
- value:
An optional instance of
Selfthat’s about to be destroyed to encode an instance of itsAtomicOptionalRepresentation.
Return Value
The newly encoded AtomicOptionalRepresentation storage.