B
bobl0456
Correct me if I am wrong, but there seems to be a least 2 short comings (at least to my view point) to using std::array :
1) no equivalent to
int myArray[] = { a very long list of values too long to conveniently count };
2) no equivalent to
void func (int[], int[][3] );
in other words, when converted to an std::array we need to specify the size of all of the dimensions of arrays passed to a function.
Am I correct on these 2 points? Or are there acceptable workarounds or syntax I am not aware of?
Thanks,
Bob
1) no equivalent to
int myArray[] = { a very long list of values too long to conveniently count };
2) no equivalent to
void func (int[], int[][3] );
in other words, when converted to an std::array we need to specify the size of all of the dimensions of arrays passed to a function.
Am I correct on these 2 points? Or are there acceptable workarounds or syntax I am not aware of?
Thanks,
Bob