Some API comments and questions

Scott Wheeler wheeler at kde.org
Thu Jan 19 11:50:31 CET 2006


On Thursday 19 January 2006 11:17, nerochiaro wrote:

> Just out of curiosity, was there a specific reason for not including
> in the design an explicit close method aside of the destructor ?

Well, pretty much none of the methods in the class will work anymore after the 
file has been closed.  It doesn't make a lot of logical sense (to me) in C++ 
to provide a method saying "I'm done with this class" other than the 
destructor.

-Scott

-- 
The first principle is that you must not fool yourself and you are the easiest 
person to fool. 
--Richard Feynman 



More information about the taglib-devel mailing list