Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Thorrez
58 days ago
|
parent
|
context
|
favorite
| on:
Making memcpy(NULL, NULL, 0) well-defined
>Note this is not a plain function, but a special form that applies the constraints dest != NULL and src != NULL to the surrounding scope.
Plain functions can apply constraints to the surrounding code:
https://godbolt.org/z/fP58WGz9f
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Plain functions can apply constraints to the surrounding code:
https://godbolt.org/z/fP58WGz9f