title: std::array class member set during compile time?
body: <p>I have a class with private member <code>std::array&lt;int,10&gt; m_arr;</code> which contains zeros by default, but in one case it must be set to something else.
  There is a setter for that class </p>
  
  <pre><code>void setArray(const std::array&lt;int,10&gt;&amp; arr)
  {
      m_arr=arr;
  }
  </code></pre>
  
  <p>However I was wondering if the setting can be done compile time somehow for that specific case?
  Thanks in advance.</p>