Sujet : Re: question about nullptr
De : dave_thompson_2 (at) *nospam* comcast.net
Groupes : comp.lang.cDate : 25. Aug 2024, 21:56:28
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <cj6ncj93220a0hmgj64itsrlmngfmur44h@4ax.com>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Forte Agent 3.3/32.846
On Wed, 10 Jul 2024 11:09:41 -0400, James Kuyper
<
jameskuyper@alumni.caltech.edu> wrote:
NULL is required to expand
into a null pointer constant ... 0 and (void*)0 are the
two most likely and common choices.
((void*)0)
Otherwise NULL["foo"] gives quite the wrong result