---
layout: "default"
title: "Operator: ^="
description: "Swift documentation for the '^=' operator."
root: "/v1.2"
---

<code class="language-swift">infix operator ^= {
    associativity right
    precedence 90
    assignment
}</code>

<h3>Declarations</h3>

<div class="declaration" id="func-crteq-inout_-int-rhs_-int">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-crteq-inout_-int-rhs_-int">func ^=(<wbr>inout:<wbr> Int, rhs: Int)</a>
        
<div class="comment collapse" id="comment-fu