tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NULL pointer arithmetic issues

On 24.02.2020 13:41, Joerg Sonnenberger wrote:
> On Mon, Feb 24, 2020 at 11:42:01AM +0100, Kamil Rytarowski wrote:
>> Forbidding NULL pointer arithmetic is not just for C purists trolls. It
>> is now in C++ mainstream and already in C2x draft.
> This is not true. NULL pointer arithmetic and nullptr arithmetic are
> *very* different things. Do not conflate them.
> Joerg

As noted, they are allowed to be practically the same in C++. The C
proposal (n2394) NULL is marked as deprecated and NULL should be set to

Attachment: signature.asc
Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index