Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 45
    More fitting comparision: true/false.
    – Xeo
    Commented Feb 2, 2014 at 11:58
  • 1
    I think he said it just right. The true/false analogy isn't helpful for someone coming from a C background, as true/false in C are just macros defined in stdbool.h which do something like #define true 1 and #define false 0. So, are you saying nullptr is a macro? Is it an integer, like C's true/false? Is it just a zero (0)?--that would kind of defeat the whole purpose of nullptr, now, so that analogy to C++'s true/false really really muddles things up. Commented Aug 20, 2020 at 23:38