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,177
  • 3
  • 16
  • 22

1 Answers1

5

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

Tsar Ioann
  • 445
  • 4
  • 9