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

Giuseppe D'Angelo dangelog at gmail.com
Fri Jan 9 22:15:25 CET 2015


On 9 January 2015 at 20:19, André Pönitz <apoenitz at t-online.de> wrote:
>
> C++ 'nullptr' only gives a benefit over '0' in the rare cases where it
> helps for disambiguation. I would not really like a policy encouraging
> 'nullptr' when '0' is just fine, but at least that would be tolerable.

Not only that, compilers are starting to complain about 0 used in
place of NULL / nullptr, for instance GCC under
-Wzero-as-null-pointer-constant.

-- 
Giuseppe D'Angelo



More information about the Development mailing list