+ 1

Restrict in C and C++

Restrict in C What is Restricted pointer in C? Why she need?

21st Aug 2019, 6:30 AM
Ахан
Ахан - avatar
1 Odpowiedź
+ 2
Basically, the restrict keyword is used to limit the effects of pointer aliasing to optimize the code. This keyword is not part of C++ standard For more info, you can refer to https://en.m.wikipedia.org/wiki/Restrict
21st Aug 2019, 6:54 AM
Agent_I
Agent_I - avatar