
On Mon, Oct 11, 2004 at 02:36:16PM -0400, Howard Hinnant wrote:
On Oct 11, 2004, at 1:29 PM, Jonathan Wakely wrote:
Would the SmartPtr authors (Peter, Greg, Beman, Daniel, Howard, Multi Media Ltd ...) consider allowing modified versions of shared_ptr.hpp, weak_ptr.hpp, shared_count.hpp and (maybe) checked_delete.hpp to be included in the GCC sources?
Speaking only for myself, I didn't realize my fingerprints were on any of these. If they really are somewhere, my permission is given. I've already reimplemented these for Metrowerks and that's the only code I can't share.
// // boost/checked_delete.hpp // // Copyright (c) 2002, 2003 Peter Dimov // Copyright (c) 2003 Daniel Frey // Copyright (c) 2003 Howard Hinnant // Although I'm not sure I'll use that file. Thanks for the permission anyway - it's very much appreciated.
Btw, it isn't in the TR1, but you might consider: shared_ptr<T[]> and weak_ptr<T[]> as a conforming extension.
I'll look into it, thanks for the suggestion. Thanks to everyone else who's generously said yes. jon -- "The man that hath no music in himself, Nor is not mov'd with concord of sweet sounds, Is fit for treasons, stratagems, and spoils; The motions of his spirit are dull as night, And his affections dark as Erebus. Let no such man be trusted." - William Shakespeare, "The Merchant of Venice"