title: Static local variable and auto
body: <p>In the code snippet below, is the local variarble result1 static? Is the keyword static mandatory do declare a static local variable or would auto suffice?</p>
  <pre><code>
  static int ExpensiveInit() {
   ...
  }
  
  
  class Foo {
   void Bar() {
     auto result1 = ExpensiveInit(); 
     static int result2 = ExpensiveInit();
     ...
   }
  }
  
  </code></pre>