News
So, I thought of creating a one-dimensional array of pointers to my existing arrays (so there aren't any copies), but I can't seem to initialize my new array correctly.
I used the C++11 initialization using {}s, the range based for loop to step through the array, and auto to allow the compiler to determine the type of the iterator. The C++ range based for ...
BR>for the "template <" line.<P>g++ gives this:<BR>"could not convert template argument `array' to `const int (&)[5]<BR>ANSI C++ forbids declaration `blah' with no type"<BR>for the declaration of ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results