title: std::array as template parameter of class
body: <p>I am wondering if a <code>std::array&lt;std::pair&lt;int,int&gt;&gt;</code> class member can be set using a template parameter. I do not want to use the constructor of the class.</p>
  
  <p>So it would be something like this:</p>
  
  <pre><code>template&lt;int N, std::array&lt;std::pair&lt;int,int&gt;,N&gt; arr&gt;
  class test
  {
  public:
  private:
    std::array&lt;std::pair&lt;int,int&gt;,N&gt; m_arr=arr;
  };
  
  int main()
  {
    constexpr std::array&lt;std::pair&lt;int,int&gt;,N&gt; arr
    {{
      {1,2},
      {3,4},
      {5,6}
    }};
    test&lt;3,arr&gt; t;
    return 0;
  }
  </code></pre>
  
  <p>Thanks in advance.</p>