Nullptr is more than just a keyword in C++ & to explain that, I have written this article. This article is more or less the same thing which you can find here, here & in nullptr proposal(N2431) But before jump-into it, we will see issues with NULL & then we'll dive into the unsophisticated implementation of nullptr. Nullptr cannot be defined as (void*)0 in the C++ standard library. Null pointer is a subtle example of Return Type Resolver idiom to automatically deduce a null pointer of the correct type depending upon the type it is assigning to.
Share Your Thoughts