Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

cppreference suggests this as an implementation for std::unreachable but as near as I can tell neither clang nor MSVC does that (yet?).


I would have expected the _LIBCXX_ASSERTIONS macro in libc++ to affect the behavior, similarly to many other standard library undefined behaviors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: