title: auto variables and auto objects memory allocation in a loop
body: <p>Can anyone tell me how many times variable integer1 allocated and deallocated?
  how about class_object? Is it true that both of them allocate and deallocate three times?</p>
  
  <pre><code>for(int i = 0; i &lt; 3; i++){
      int integer1;
      Class1 class_object(some_parameter);
  }
  </code></pre>