Using nullptr instead of Q_NULLPTR
thiago at kde.org
Tue Aug 18 16:33:59 BST 2015
On Friday 14 August 2015 23:53:44 Jarosław Staniek wrote:
> > Don't do that. If you use nullptr, there's no going back to zero because
> > it's not the same. You've irrevocably locked yourself into requiring a
> > compiler that supports it.
> I should say "back to Q_NULLPTR", right?
> It's just helping people with old compilers by making the code SC.
Back to anything that is not nullptr: 0, NULL, __null, Q_NULLPTR, whatever.
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
More information about the kde-core-devel