title: Why is there no operator ~= in C++?
body: <pre><code>int main()
  {
      unsigned int a = 0;
      unsigned int b = 0;
  
      a ^= b; // ok
      a |= b; // ok
      a &amp;= b; // ok
      a = ~b; // ok
      a ~= b; // error : expected ';' after expression
  }
  </code></pre>
  
  <p><code>^=</code>, <code>|=</code>, and <code>&amp;=</code> are all legal.</p>
  
  <p>Why isn't <code>~=</code> legal in C++? </p>