Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Comments on Why not call nullptr NULL?
Parent
Why not call nullptr NULL?
+13
−0
In C++11 the nullptr keyword was added as a more type safe null pointer constant, since the previous common definition of NULL as 0 has some problems.
Why did the standards committee choose not to call the new null pointer constant NULL, or declare that NULL should be #defined to nullptr?
Post
+0
−0
Probably just backwards compatibility with past C++ versions, where NULL = 0.

0 comment threads