title: What does |= mean in c++
body: <p>I have code line</p>
  
  <pre><code>int i =0;
  result |= EXPECT_EQUAL(list.size(),     3);
  </code></pre>
  
  <p>What does <code>|=</code> mens?</p>
  
  <p>I was trying to compile something like:</p>
  
  <pre><code>int result |= 5;
  </code></pre>
  
  <p>but got error:</p>
  
  <pre><code>aaa.cpp:26:16: error: expected initializer before ‘|=’ token
  </code></pre>