Study Notes (07): C ++ Language Basics video tutorial -3.4 destructor

Learning immediately: https://edu.csdn.net/course/play/474/5131?utm_source=blogtoedu

Destructor is automatically executed at the end of the object life

Objects generated after the first destructor, the object is first generated destructor

Destructor no value is returned, there is no function type, there is no function parameter can not be overloaded destructor

 

Published 17 original articles · won praise 0 · Views 133

Guess you like

Origin blog.csdn.net/cangersuifeng/article/details/104769054