bitwise NOT operation on <code>allZeros</code> returns a value with
every bit set to <code>1</code>.</p><pre><code class="language-swift">let allOnes = ~UInt8.allZeros   // 0b11111111</code></pre></li></ul>

<p>The <code>OptionSet</code> protocol uses a raw value that conforms to
<code>BitwiseOperations</code> to provide mathematical set operations like
<code>union(_:)</code>, <code>intersection(_:)</code> and <code>contains(_:)</code> with O(1) performance.</p>

<h1>Conforming to the BitwiseOperations Prot