[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Using nullptr instead of Q_NULLPTR
From: Thiago Macieira <thiago () kde ! org>
Date: 2015-08-18 15:33:59
Message-ID: 14453784.HPG466oEE4 () tjmaciei-mobl4
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic