title: C++ - Vector of Float Arrays
body: <p>I'm currently attempting to create a vector that holds float arrays. I am having a diffcult time.</p>
  
  <p>I have the following code:</p>
  
  <pre><code>float testArray[4] = {20, -3.14/2, 5, -3.14/2};
  std::vector&lt;float[4]&gt; inputVector;
  std::vector&lt;float[4]&gt;::iterator it = inputVector.begin();
  inputVector.insert(it, testArray);
  </code></pre>
  
  <p>I keep getting an error say "array must be initialized with a brace-enclosed initializer" and "invalid array assignment". I tried this same code with a vector of ints (as opposed to a vector of array) and did not have any issue. </p>
  
  <p>I believe there is an underlying issue that I don't understand.</p>
  
  <p>Any help is appreciated!</p>