On Monday 30 March 2015 17:32:29 Daniel Teske wrote:
> - You can use nullptr, but
> Note: There was no consensus to ban nor to recommend them, but the majority
> didn't think nullptr brings a benefit, so individually maintainers might
> object to usage of nullptr.
If I understood correctly (I didn't recheck since long) the major feature of
null pointer is being able to say
int* a {nullptr};
but not
int* a {0}; // implicit conversion not allowed with {} initialisation
and thus the disambiguation possible in automatic type detection situations
(overloaded function calls).
Whether there is any use of this is heavily code-base dependent, I guess.
--
Cristian Tibirna
KDE developer .. [email protected] .. http://www.kde.org
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator