title: Printing std::bitset in C++11
body: <p>Consider the following code written in C++11:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;bitset&gt;
  #include &lt;cstdint&gt;
  
  int main() {
  
      std::uint64_t a = 0000000000000000000000000000000000000000000000001111111100000000;
      std::bitset&lt;64&gt; b(a);
  
      std::cout &lt;&lt; b &lt;&lt; std::endl;
  
      return 0;
  }
  </code></pre>
  
  <p>The output of the code is :</p>
  
  <pre><code>0000000000000000001001001001001001001001000000000000000000000000
  </code></pre>
  
  <p>Why this output does not correspond to the <code>a</code> value?</p>