title: Are Valarrays a specialized Templates?
body: <p>Can we be sure that <code>valarray</code> is a specialized class template ? and that's why it doesn't let implicite conversion happen ?</p>
  
  <pre><code>  std::valarray&lt;int&gt; values={1.0,2.0};
  
      for(int it: values ){
  
          std::cout&lt;&lt;it&lt;&lt;std::endl;
      }
  </code></pre>
  
  <blockquote>
    <p>error: narrowing conversion of '1.1000000000000001e+0' from 'double' to 'int' [-Wnarrowing]</p>
  </blockquote>