MSVC++ restrict keyword and local variables
问题 I've read a number of posts on the restrict keyword. But virtually every example I can find seem to refer to input parameters only to a function and, perhaps a single value. I need to clarify my understanding. I've found a function that looks like it totally violates the rules of the keyword with both an input parameter and a local variable. This function is called with a void* to a buffer and the pointer is declared as _restrict (this is Microsoft Visual C++). Yet later in the function, a