Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我环顾四周寻找不同的来源,但无法找到有关固定大小数组向量的任何有用信息。我想知道下面的代码是否可以正常工作。
std::vector<std::array<myType, [3]> > myVectorOfArrays;
尝试:std::vector<std::array<myType, 3> > myVectorOfArrays;
std::vector<std::array<myType, 3> > myVectorOfArrays;