wtf
wtf copied to clipboard
std::abort is too annoying on Windows
std::abort will trigger the JIT debugger on Windows which is super annoying. I need to throw exceptions / catch them if no debugger is attached & abort/__debugbreak() if attached so that it still is easy to break when things go wrong.
std::terminate + std::terminate_handler?