Thursday, December 10, 2009

Destructors for IO_Form class

In class IO_Form destructor specified:
when it is going out of scope all dynamic IO_Fields are deleted. (the rest will not be deallocated).
First we tried to deallocate all dynamic IO_Field from IO_Form destructor, but actually it should be done in IO_Node, and in IO_Form destructor all fields should be deleted. It makes sense and a lot easier to do :)

No comments:

Post a Comment