Hello,
I am coming from c language and I wish to learn c++ further.
I am used to the restrict keyword to hint the compiler that no overlap is going to happen in the values passed to the function.
void foo( int * restrict a, char * restrict b)
I understand that I can pass by reference in c++.
void foo( int &a, char &b)
Using it, will it automatically restrict it or not ? It is very important for performance reasons (no checks at each iterations/steps)
Thanks