mirror of
https://github.com/apple/swift-atomics
synced 2026-11-27 04:44:21 +00:00
[AtomicValue] Document AtomicRepresentation
This commit is contained in:
1 file changed
+1
@@ -13,6 +13,7 @@
|
||||
/// A type that supports atomic operations through a separate atomic storage
|
||||
/// representation.
|
||||
public protocol AtomicValue {
|
||||
/// The atomic storage representation for this value.
|
||||
associatedtype AtomicRepresentation: AtomicStorage
|
||||
where AtomicRepresentation.Value == Self
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user