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

> I appreciate that people want to have some pointless if(depth > 0) check everywhere

An after the fact check would be the wrong way to deal with UB, you'd need to check for < INT_MAX before the increment in order to avoid it.



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

Search: