HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by YesBox | Hacker News Reader
Parent
Full thread
YesBox
·
C++ keeps getting bigger and bigger :D
Thanks for sharing
View on HN
creato
·
This is actually C and C++ has
not
done something similar AFAIK.
hn_go_brrrrr
·
Fortunately the major compiler vendors all have. Routing around the standards committee is getting more and more common.
Fulgen
·
https://en.cppreference.com/w/cpp/utility/unreachable.html
TuxSH
·
C++23 does have std::unreachable (as a function), and its counterpart [[assume(expr)]]
Reply on news.ycombinator.com