title: For loop inside its own curly braces
body: <p>I have come across this for-loop layout:</p>
  
  <pre><code>#include &lt;iostream&gt;
  int main()
  {
      {
          for (int i = 0; i != 10; ++i)
          {
              std::cout &lt;&lt; "delete i-&gt;second;" &lt;&lt; std::endl;
          }
      }
  
      {
          for (size_t i = 0; i &lt; 20; ++i)
          {
              std::cout &lt;&lt; "delete m_indices[i];" &lt;&lt; std::endl;
          }
      }
      return 0;
  }
  </code></pre>
  
  <p>I was wondering what this extra layer of braces is for? This appears a few times in our code base.</p>