[Development] Upgrading the sources to C++11 keywords (Q_NULLPTR, etc.)

Knoll Lars Lars.Knoll at theqtcompany.com
Thu Jul 23 16:29:12 CEST 2015


On 23/07/15 14:27, "Marc Mutz" <marc.mutz at kdab.com> wrote:

>On Thursday 08 January 2015 23:33:34 Thiago Macieira wrote:
>>  * Q_DECL_OVERRIDE - required in new code, don't add to old code
>
>- Required to be used consistently within a class, because Clang warns be
>  default if one function has override and another doesn't.
>- Even add to old code. The benefits outweigh the git history churn.
>
>Consensus?

Yes, but again, I’d propose we wait until 5.6 is branched and then start
using the keyword directly, not the macro.

Cheers,
Lars




More information about the Development mailing list