title: What are primitive types default-initialized to in C++?
body: <p>When I use an initialization list:</p>
  
  <pre><code>struct Struct {
      Struct() : memberVariable() {}
      int memberVariable;
  };
  </code></pre>
  
  <p>the primitive type (<code>int</code>, <code>bool</code>, <code>float</code>, <code>enum</code>, pointer) member variable is <em>default-initialied</em>. Is the value it gets implementation defined or is it the same for all implementations?</p>