News for hackers. Stuff that matters.
Re:Three new utility functions in C++23 by eco on Wednesday November 09, 2022 @11:29AM (#33533955)
cppreference suggests this as an implementation for std::unreachable but as near as I can tell neither clang nor MSVC does that (yet?).
Re:Three new utility functions in C++23 by leni536 on Wednesday November 09, 2022 @03:51PM (#33537656)
I would have expected the _LIBCXX_ASSERTIONS macro in libc++ to affect the behavior, similarly to many other standard library undefined behaviors.