简体   繁体   中英

Vector of a Fixed size array

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;

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM