---
title: ".^=(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simdmask/'._=(_:_:)-7vb81"
---

# .^=(_:_:)

Replaces a with the pointwise exclusive or of a and b.

## Declaration

```swift
static func .^= (a: inout SIMDMask<Storage>, b: SIMDMask<Storage>)
```

## Discussion

Discussion Equivalent to: for i in a.indices {   a[i] = a[i] != b[i] }
