guidelines for using boost code

Benjamin Kosnik bkoz@redhat.com
Thu Mar 24 17:59:00 GMT 2005


> > > Yes, that's much clearer about where the code is from ... thanks for
> > > that.  My only concern is whether it should be boost_shared_ptr.h rather
> > > than boost_memory.h, but that's not very important.
> > 
> > How about boost_smart_pointers.h? (Since there's weak_ptr too.)
> 
> That might imply we also have boost::scoped_ptr, boost::scoped_array etc.
> 
> weak_ptr is useless in isolation, it is only useful in partnership with
> shared_ptr, but I'm not worried either way.

Kay. I'm going to use boost_shared_ptr.h as you suggested.

-benjamin



More information about the Libstdc++ mailing list