Hacker News new | ask | show | jobs
by satish-setty 3031 days ago
There is std::array<T, N> in modern C++ standard. It is meant for static arrays which know their own length.

http://en.cppreference.com/w/cpp/container/array