Kind of, compilers don't enforce correct use of restrict which opens the doors to strange errors, as it is UB if they actually do overlap.
Which is the main reason why ANSI C++ members are not keen in having restrict in C++.
Which is the main reason why ANSI C++ members are not keen in having restrict in C++.