That is actually memory safe, as null will always trigger access violation..
Anyway safety checked modes are sufficient for many programs, this article claims otherwise but then contradicts itself by showing that they caught most issues using .. safety checked modes.
>null will always trigger access violation..
No, it won't. https://gcc.godbolt.org/z/Mz8sqKvad
You didn't read this, did you? https://alexgaynor.net/2019/apr/21/modern-c++-wont-save-us/
It's not a pointer.
It is undefined behavior. You cannot make a claim about what it will always do.