title: Does static constexpr variable inside a function make sense?
body: <p>If I have a variable inside a function (say, a large array), does it make sense to declare it both <code>static</code> and <code>constexpr</code>? <code>constexpr</code> guarantees that the array is created at compile time, so would the <code>static</code> be useless?</p>
  
  <pre><code>void f() {
      static constexpr int x [] = {
          // a few thousand elements
      };
      // do something with the array
  }
  </code></pre>
  
  <p>Is the <code>static</code> actually doing anything there in terms of generated code or semantics?</p>