4 ms·
Does it compile? Does it run? Yes, therefore it's valid C++. I'm not arguing it's good C++, but saying "C++'s destructor behaviour doesn't work if you don't us
by cgrealy 6y ago
Does it compile? Does it run? Yes, therefore it's valid C++.
I'm not arguing it's good C++, but saying "C++'s destructor behaviour doesn't work if you don't use C++" in relation to using new and delete is clearly nonsense.