title: static const vs constexpr member fields in C++11/14?
body: <p>What is the difference between these member variables:</p>
  
  <pre><code>struct my_class {
      static const int i = 0;
      static constexpr int j = 0;
  };
  </code></pre>
  
  <p>If my understanding is correct, I'm able to use both <code>i</code> and <code>j</code> as compile time constants. That is, both <code>std::array&lt;int, my_class::i&gt;</code> and <code>std::array&lt;int,my_class::j&gt;</code> should work.</p>