Is it safe to always omit NULL pointer check before calling delete or delete[], especially while writing cross-platform code sections?
I remember that few years ago (three or four) same code I wrote was working on MS Windows (compiled with MSVCv12 toolchain) but version compiled for Linux with g++ (unfortunately, I do not remember the g++ version) was throwing NULL pointer reference. I found information that it was probably a compiler error at that time.
I've found this SO thread but after reading it I'm still not quite sure if it is safe and if so - from which version of the C++ standard?