Boost logo

Boost :

From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2002-01-30 14:25:01

Darin Adler wrote:
> I'm going to remove the old smart pointer class templates, replacing
> <boost/smart_ptr.hpp> with:
> #include <boost/scoped_ptr.hpp>
> #include <boost/scoped_array.hpp>
> #include <boost/shared_ptr.hpp>
> #include <boost/shared_array.hpp>
> #include <boost/weak_ptr.hpp>

Why not

     #include <boost/memory/scoped_ptr.hpp>
     #include <boost/memory/scoped_array.hpp>

etc., or something like this?

I am uncomfortable with placing quite a few closely related files (which, in
fact, belong to the same library) into top-level boost directory instead of
creating a separate sub-directory for the library - given that the latter, I
believe, is a practice that we explicitly decided on some time ago.


Boost list run by bdawes at, gregod at, cpdaniel at, john at