<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/UnsafeRawPointer/AtomicOptionalRepresentation",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:SV15SynchronizationE28AtomicOptionalRepresentationa"
  },
  "title" : "UnsafeRawPointer.AtomicOptionalRepresentation"
}
-->

# UnsafeRawPointer.AtomicOptionalRepresentation

The storage representation type that encodes to and decodes from
`Optional<Self>` which is a suitable type when used in atomic operations
on `Optional`.

```
typealias AtomicOptionalRepresentation
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)