On Mon, Jan 28, 2008 at 12:18:50PM +0200, Pauli wrote: > Hi! > > Adding boost smart_ptr library to wesnoth would help a managing > dynamically allocated memory. I have plan to optimize config class with > shared_ptr in 1.5. Shared_ptr adds reference counting to any pointer. It > provides very simple interface to eliminate memory leaks. > > Any objections to add it now? I want to use it in server side to make > sure that there is minimal danger for memory leaks so 1.4 server would > be more stable with increasing user numbers.
Adding it now will break the feature freeze and add a new dependency. I'd love to see boost-smart_ptr in 1.5 but IMO too late for 1.4. I do like this library and I think it can be useful in more places. As a side note I'd like to have boost::smart_ptr and not the tr1 variation since not all platforms have easy support for boost 1.34(.1). Debian Etch uses boost 1.33.1. Regards, Mark de Wever aka Mordante/SkeletonCrew _______________________________________________ Wesnoth-dev mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-dev
