On 24 August 2010 04:33, James Paige <[email protected]> wrote: > On Mon, Aug 23, 2010 at 04:56:27AM -0700, [email protected] > wrote: >> teeemcee >> 2010-08-23 04:56:27 -0700 (Mon, 23 Aug 2010) >> 218 >> More horror! MenuDefs are meant to be deleted with ClearMenuData, or they >> leak all their items! Fix the numerous places where we were doing that. >> >> It would be REALLY great if FB let us use constructors and destructors. > > Isn't -lang deprecated the thing that is holding us back from using > them? > > --- > James
Yep. There are a few UDTs now which have to be manually destructed, and I feel really bad every time I introduce one because it makes our code less friendly and more and more C-like. I suspect that constructor and destructor support could be added to -lang deprecated by patching a few lines in the compiler, and I am almost considering trying it. And if I didn't have all these OHR features to work on, I would definitely be working on fb2c++ right now. _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
