4 ms·
> 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 pers
by usefulcat 4y ago
> 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.