title: Are constexpr array members compile time constants?
body: <p>Is the code fragment</p>
  
  <pre><code>struct Parameters {
     static constexpr int n = 2;
     static constexpr double v[n] = {4.0, 5.0};
  };
  </code></pre>
  
  <p>legal C++11? And, if so, are <code>Parameters::v[0]</code> and <code>Parameters::v[1]</code> compile time constants or is just the pointer <code>Parameters::v</code> itself a <code>constexpr</code> (whatever that would mean at compile time)?</p>
  
  <p>As you can see I am generally a bit confused about <code>constexpr</code> arrays and their initialization in classes/structs. Please feel free to not only answer my specific question but also to mention common pitfalls and the like concerning this topic.</p>