Why is the restrict keyword not part of C++?
There are several issues in defining “restrict” in C++, some of them are listed in WG paper N3635: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3635.pdf “Towards restrict-like semantics for C++” Some possible issues with restrict in C++ are: Restrict Class members and indirection with “this pointer” Passing of restrict qualifiers into functions, functors, lambdas, and templates Escaping of restrict pointer values … Read more