---
title: AtomicOptionalRepresentable
framework: synchronization
role: symbol
role_heading: Protocol
path: synchronization/atomicoptionalrepresentable
---

# AtomicOptionalRepresentable

An atomic value that also supports atomic operations when wrapped in an Optional. Atomic optional representable types come with a standalone atomic representation for their optional-wrapped variants.

## Declaration

```swift
protocol AtomicOptionalRepresentable : AtomicRepresentable
```

## Topics

### Associated Types

- [AtomicOptionalRepresentation](synchronization/atomicoptionalrepresentable/atomicoptionalrepresentation.md)

### Type Methods

- [decodeAtomicOptionalRepresentation(_:)](synchronization/atomicoptionalrepresentable/decodeatomicoptionalrepresentation(_:).md)
- [encodeAtomicOptionalRepresentation(_:)](synchronization/atomicoptionalrepresentable/encodeatomicoptionalrepresentation(_:).md)

## Relationships

### Inherits From

- [AtomicRepresentable](synchronization/atomicrepresentable.md)

### Conforming Types

- [ObjectIdentifier](swift/objectidentifier.md)
- [OpaquePointer](swift/opaquepointer.md)
- [Unmanaged](swift/unmanaged.md)
- [UnsafeMutablePointer](swift/unsafemutablepointer.md)
- [UnsafeMutableRawPointer](swift/unsafemutablerawpointer.md)
- [UnsafePointer](swift/unsafepointer.md)
- [UnsafeRawPointer](swift/unsaferawpointer.md)

## See Also

### Atomic Values

- [Atomic](synchronization/atomic.md)
- [AtomicLazyReference](synchronization/atomiclazyreference.md)
- [WordPair](synchronization/wordpair.md)
- [AtomicRepresentable](synchronization/atomicrepresentable.md)
