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

Well, it is bad to have error() do UB.

It was slightly improved in C++26 under hardening:

https://en.cppreference.com/w/cpp/utility/expected/error.htm...





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

Search: