| ▲ | uecker 5 hours ago | |||||||
Is it? You just add "restrict" where needed? | ||||||||
| ▲ | adev_ 4 hours ago | parent [-] | |||||||
> Is it? You just add "restrict" where needed? Yes. That is the main solution and it is not a good one. 1- `restrict` need to be used carefully. Putting it everywhere in large codebase can lead to pretty tricky bugs if aliasing does occurs under the hood. 1- Restrict is not an official keyword in C++. C++ always has refused to standardize it because it plays terribly with almost any object model. | ||||||||
| ||||||||