Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
raldi
on March 7, 2023
|
parent
|
context
|
favorite
| on:
Assertions are pessimistic, assumptions are optimi...
Brilliant. I’m actually surprised to see, nine years later, that this isn’t on track to make it into the next version of the C standard.
leni536
on March 7, 2023
[–]
It's part of C++23, in form of an attribute
https://en.cppreference.com/w/cpp/language/attributes/assume
.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: