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

For:

  if (need_free == some_other_bool)
you could use:

  if (!need_free ^ some_other_bool)
if you're using _Bool.


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

Search: