首页 > Term: destructor
destructor
A special member function of a class with the same name as the class with a
(tilde) preceding the name. You cannot specify arguments or a return type for this function. A destructor "cleans up" after an object by doing such things as freeing any storage that was dynamically allocated when the object was created.
0
创建者
- Peteh
- 100% positive feedback