malloc and delete in C++, opinions
- by Alexander
In C++ using delete to free memory obtained with malloc() doesn't necessarily cause a program to blow up.
Do you guys think a warning or perhaps even an assertion failure should be produced if delete is used to free memory obtained using malloc()??
Why do you think that Stroustrup did not had this feature on C++?