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 nullptr.
Description: OpenPGP digital signature