Today's episode of “something I didn't know about C++”: class whynot { friend void; };
OK, so the `const` means that *within the function* the pointer won't be modified to point to another array. It doesn't mean that it will always be called with the same array given as an input, IIUC.
-
-
In other words, this syntax for `const` and `restrict` means the same thing as `const` and `restrict` normally mean for pointers, but it allows you to use them with the array syntax (presumably primarily so you can use the truly new meaning of `static`).
-
Right! My bad.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
