Hacker News new | ask | show | jobs
by lorenzhs 3650 days ago
restrict is C99. Many C++ compilers accept __restrict__ or some other form of it to mean the same, but restrict doesn't exist in the C++ standard, so the GP is correct.
1 comments

Good point, it gets tough remembering all the little differences between the two.