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

Triggering UB is a compiler error in constexpr code.

https://shafik.github.io/c++/undefined%20behavior/2019/05/11...



True, you’ll hopefully get a compiler error.




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

Search: