Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SuchAnonMuchWow
on May 11, 2022
|
parent
|
context
|
favorite
| on:
Mysterious Memset
I believe restrict is a C only keyword, so no, it couldn't have helped.
adzm
on May 11, 2022
[–]
While not standardized, restrict or __restrict are indeed supported by most C++ compilers. Visual C++ even supports a declspec(restrict) that can apply to the function rather than just individual arguments.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: