Liste des Groupes | Revenir à cl c |
On 2024-07-07, Ben Bacarisse <ben@bsb.me.uk> wrote:Remember, it was invented on the C++ side, where it has some very useful uses due to overloading.I find myself completely out of step with many posters here aboutAnd if that person is on the C or C++ langauge committee, that bit of
"explicit code" should look like. I think
>
char *p = 0;
>
is explicit enough and, in fact, I consider it a plus point if someone
reading it goes "hey, what's going on here?" and ends up learning that 0
is null pointer constant in C.
learning could just prevent a superfluous non-invention like nullptr.
Les messages affichés proviennent d'usenet.