Comment by zabzonk Comment by zabzonk 6 months ago 2 replies Copy Link View on Hacker News did nullptr exist in c++ back in 1995 - i can't remember
Copy Link trealira 6 months ago Collapse Comment - Nope, it was introduced in C++11, along with the type std::nullptr_t. Before that, you either used 0 or NULL, which was a macro constant defined to be 0. Reply View | 1 reply Copy Link waynecochran 6 months ago Parent Collapse Comment - That is the only thing "modern" in the above code and it does not save the kitten. Reply View | 0 replies
Copy Link waynecochran 6 months ago Parent Collapse Comment - That is the only thing "modern" in the above code and it does not save the kitten. Reply View | 0 replies
Nope, it was introduced in C++11, along with the type std::nullptr_t. Before that, you either used 0 or NULL, which was a macro constant defined to be 0.