News for hackers. Stuff that matters.
Re:Comparison of C++17, Go, and Java for a next-generation s... by kllrnohj on Friday April 24, 2020 @02:17PM (#22971289)
std::array is great except it's annoying to statically initialize. Really wish make_array or to_array were non-experimental a lot sooner (to_array finally did land in C++20 at least).

But yeah it does mean you can finally stop doing that silly `sizeof(a)/sizeof(a[0]);` trick.

There are no comments on this comment yet.