且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

std::array 和 VS2015 的错误

更新时间:2022-03-28 21:44:07

std::array 是封装常规"固定大小数组的容器数据类型.您需要提供数组大小作为模板参数:

std::array is a container data type that encapsulates "regular" fixed-size arrays. You need to provide the array size as a template parameter:

auto dataArray = gcnew array<DataChunk,1008>();