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

> I don't understand why it's more acceptable to allow magic `0` conversions than magic `(void*)0` conversions

In the end you don't have to chose between '0' and 'nullptr' anyways.

    char *x = (decltype (nullptr)) 0;


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

Search: