Boost logo

Boost :

From: Dirk Gerrits (dirkg_at_[hidden])
Date: 2002-06-18 04:15:44


Bjorn.Karlsson_at_[hidden] wrote:
> From: Victor A. Wagner, Jr. [mailto:vawjr_at_[hidden]]
> >I'm puzzled. Why does this create a dependency on auto_ptr<> ?
>
> In <scoped_ptr.hpp>:
>
> #include <memory>
> ...
> scoped_ptr(std::auto_ptr<T> ptr)

Ok but why is this bad? shared_ptr.hpp includes <memory> as well.

Dirk Gerrits


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk