Function std::unreachable#

Function Documentation#

void std::unreachable()#

Invokes undefined behaviour. An implementation may use this to optimize impossible code branches away (typically, in optimized builds) or to trap them to prevent further execution (typically, in debug builds).