Hi,

Eddy Petrișor a écrit :
> Doing that would mean to do a half assed job. If we rely on the
> famework to do the job for us, we'll end up not using the CleanUp
> function at all.

That would only be in "release mode", where we prefer avoiding any
potential bug in the class destructors than exposing it to end users
(which is the case right here).

Concerning any risk of (object/size) bloat, I expect the linker to be
smart enough to notice the CleanUp/... functions are not used, and
therefore discarded, so this part is a non-issue IMHO.

I believe it serves only one purpose: reduce noise when using a tool
such as valgrind. I however agree my proposition is a fundamentally
unsatisfying situation as a developer.

Best regards,
-- 
Kurosu

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à