Skip to content

std::unreachable doing nothing, currently #3051

Answered by AlexBAV
AlexBAV asked this question in Ideas
Discussion options

You must be logged in to vote

The following illustrates this (foo uses __assume(false), bar uses std::unreachable and good_bar uses patched unreachable):

https://godbolt.org/z/a9d33hc5b

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@StephanTLavavej
Comment options

Answer selected by StephanTLavavej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants