News for hackers. Stuff that matters.
Re:Three new utility functions in C++23 by usefulcat on Wednesday November 09, 2022 @09:21AM (#33531944)
> this is undefined behaviour, use that to optimise

Optimization is a very large part of the reason for having undefined behavior at all. Viewed from that perspective, I don’t see how the existence of std::unreachable is at all odd. Also, it’s not like anyone is required to use it.

There are no comments on this comment yet.