I was reading a question on SO and in one of the answers, it has been mentioned as:
If no unambiguous matching deallocation function can be found, propagating the exception does not cause the object’s memory to be freed.
So, if I just overload my new
operator and not the delete
operator, would any default delete
operator be created and called; or, do I have to also write the delete
operator explicitly.