home *** CD-ROM | disk | FTP | other *** search
- Data members and member functions remain available while the
- destructor is executing. Therefore, the destructor can access
- them. For example, the destructor of a class could open a file,
- write the information in the object onto that file, and close the
- file. Data members are destroyed when the destructor ends.
-