~skeeto/public-inbox

1

Re: My review of the C standard library in practice

Details
Message ID
<d632e772-b211-430e-b02b-5d9b75e9290d@disroot.org>
DKIM signature
pass
Download raw message
I figured you would be happy to know one of the issues you brought up in 
this post seems to be getting fixed in C2y.

https://developers.redhat.com/articles/2024/12/11/making-memcpynull-null-0-well-defined

Great news!

Re: My review of the C standard library in practice

Details
Message ID
<20241212020449.53jaqvsvftw6ivjk@nullprogram.com>
In-Reply-To
<d632e772-b211-430e-b02b-5d9b75e9290d@disroot.org> (view parent)
DKIM signature
missing
Download raw message
Yup, I saw that earlier today and I'm excited! Many pointless edge cases 
will be eradicated. C++ has supported null pointer arithmetic since C++17 
for the sake of iterators, but not the libc function changes. I presume 
the function changes will eventually propagate to C++, too. Thanks for the 
heads up!
Reply to thread Export thread (mbox)