Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
YesBox
5mo ago
0 comments
Share
C++ keeps getting bigger and bigger :D
Thanks for sharing
0 comments
default
newest
oldest
creato
5mo ago
This is actually C and C++ has
not
done something similar AFAIK.
Fulgen
5mo ago
https://en.cppreference.com/w/cpp/utility/unreachable.html
hn_go_brrrrr
5mo ago
Fortunately the major compiler vendors all have. Routing around the standards committee is getting more and more common.
TuxSH
5mo ago
C++23 does have std::unreachable (as a function), and its counterpart [[assume(expr)]]
j
/
k
navigate · click thread line to collapse