我有这个功能:
array<int, 2> foo() { array<int, 2> = nums; return nums;}
这将返回错误"数组未命名类型".为什么是这样?
c++ arrays
arrays ×1
c++ ×1