title: Create std::array from variadic template
body: <p>I'd like to achieve something like that:</p>
  
  <pre><code>#include &lt;string&gt;
  #include &lt;array&gt;
  
  enum class MyEnum{
    A,
    B,
    C
  };
  
  template&lt;MyEnum... Args&gt;   
  class MyClass{
    public:
      MyClass()
      {
      }
    private:
      std::array&lt;MyEnum, sizeof...(Args)&gt; array;   
  };
  </code></pre>
  
  <p>Now I have an array, which can hold all passed to template values. But how can I populate this array with template parameters?</p>