The holy grail is runtime access to the length, which means an array would have to be backed by something more elaborate.
https://godbolt.org/z/PnaWWcK9o
The holy grail is runtime access to the length, which means an array would have to be backed by something more elaborate.