On Tue, 2005-08-16 at 22:11 -0400, Peter Amstutz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, 16 Aug 2005, Braden McDaniel wrote: > > >> One heap - you can free memory allocated in some other module. > > > > That's the major selling point. Doing without this is giving up a lot; > > nonetheless, I find myself considering strategies that would ameliorate its > > absence. > > Yea, for VOS this is pretty much essential. Besides the fact that most > classes in VOS are reference counted (so may be deleted anywhere),
That problem is solvable. For example, boost::shared_ptr lets you specify a custom deleter function. > we pass > objects like std::string around between DLLs quite a bit which of course > does its underlying allocation on the heap. But the Microsoft std::string implementation is not COW, so I don't think this is a problem. -- Braden McDaniel e-mail: <[EMAIL PROTECTED]> <http://endoframe.com> Jabber: <[EMAIL PROTECTED]> _______________________________________________ vos-d mailing list vos-d@interreality.org http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d