This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: guidelines for using boost code


> > > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]