3 ms·
OP complains about C-style arrays when criticizing C++. Just using `std::array` makes life easier.
by stabbles 9y ago
OP complains about C-style arrays when criticizing C++. Just using `std::array` makes life easier.
- colanderman 9y agoAgreed, though unfortunately pre-C++17 you must specify the size when defining the array.
- sseagull 9y agoYeah that one is a little weird. C++11 included std::array to solve that problem (among others), but he doesn't use it and then complains about it anyway.