9 Jan
2022
9 Jan
'22
10:24 a.m.
On Sun, Jan 9, 2022 at 10:12 AM Ivan Matek
How about https://godbolt.org/z/n11xMd7P3. The comparison ops are missing, as well as the iterator code, but that's pretty much the same as the std version for a single dimension array. It was proposed some years ago for inclusion in Boost but stagnated, then got removed.
That still suffers from {} spam, right? No way to nicely initialize it without a ton of {}? https://godbolt.org/z/jsTEEbcan
The opposite I would say, one set of braces is sufficient.