title: What is the simplest way to convert array to vector?
body: <p>What is the simplest way to convert array to vector?</p>
  
  <pre><code>void test(vector&lt;int&gt; _array)
  {
    ...
  }
  
  int x[3]={1, 2, 3};
  test(x); // Syntax error.
  </code></pre>
  
  <p>I want to convert x from int array to vector in simplest way.</p>