Re:Incrementing Vectors (2019)
by dmitrygr on Friday September 23, 2022 @03:26AM
(#32948984)
And that is why C has the "restrict" keyword, which you should use in precisely such cases
[ Parent
| on HN ]
Of course, if you accidentally pass aliased pointers as restricted pointer arguments to a function, "no diagnostic is required".
Which is a shame because restrict is not in C++