by sigsev_251 · 2y ago · 0 comments
[1]: https://thephd.dev/_vendor/future_cxx/papers/C%20-%20Non-own...
BTW, it's simple to implement.
sizeof(a)
sizeof(a)/sizeof(a[0])What matters is if enough people in WG14 with voting rights care.
T f(args)[..] { body }
This would be hard to parse. Then what about: T[..] f(args) { body }
But if adding [] after T is allowed in function declaration, then why not for arrays as well: T[..] a;