3 ms·
I know of this notations but I don't see many people using [static n]. Not sure why, maybe it doesn't feel like C anymore, maybe it feels hacky? typically if
by keyle 4mo ago
I know of this notations but I don't see many people using [static n].
Not sure why, maybe it doesn't feel like C anymore, maybe it feels hacky?
typically if you're passed an array you'd want to get more anyway, so you'd get passed a struct. Not sure.
- uecker 4mo agoI don't know. I see people increasingly make use of it. The problem was that in the past compilers ignored this completely, so there was simply no point. Nowadays GCC uses it for warning (the length for bounds and "static" for nonnull), so it starts to become useful.