0

I have had a look around for different sources and was unable to find any useful information on vectors of fixed size arrays. I was wondering if the below code would work properly.

std::vector<std::array<myType, [3]> > myVectorOfArrays;
Elliott
  • 1,347
  • 4
  • 17
  • 23

1 Answers1

5

Try: std::vector<std::array<myType, 3> > myVectorOfArrays;

Tsar Ioann
  • 444
  • 4
  • 9