Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
randomNumber7
· 4y ago · 0 comments
The D Programming language actually uses assert(0) in that way. Except its not undefined behaviour if the code is reached in release builds. The compiler will put in a special assembly instruction which chrashes the programm.
Comments
No comments yet.
Better HN