Hey guys,
I was wondering on the effects of using "restrict" on the parameters of inline functions. I would assume since the function will -presumably- be inlined, its parameters will be ignored and replaced with locals. If so, I'd be inclined to believe the locals are a better match for "restrict" and there is no use in restricting the function parameters.
On the other hand if for whatever reason the compiler decides not to inline the function, the restrict qualifier will be of significance.
Am I incorrect in my assumptions? Will using restrict have an adverse effect under these circumstances?
Thanks.