Oh, it also work for runtime length:
back
1 comments
Now try that on a compiler without -fsanitize=bounds, yet full ISO C compliant.
You can still access the size which is what the parent was asking for. And please tell me how you would try this on an ISO compliant compiler for D.
D has bounds checking, and isn't a ISO language.