|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-27 08:43:32
From: "Douglas Gregor" <gregod_at_[hidden]>
> On Monday 26 August 2002 09:31 pm, Bertolt Mildner wrote:
> > "Douglas Gregor" <gregod_at_[hidden]> schrieb im Newsbeitrag
> > news:200208261313.18843.gregod_at_cs.rpi.edu...
> >
> > > I've applied a minor change to all _ptr headers (shared_ptr,
scoped_ptr,
> > > weak_ptr, intrusive_ptr) that adds a detail function template
> > > 'is_pointerlike_helper' that looks like this:
> >
> > [...]
> >
> > Looks like a #include <boost/type_traits.hpp> is missing in
shared_ptr.hpp,
> > or at least I had to add it for CW 8.2 on Win32.
>
> shared_ptr.hpp seems to be okay in this regard (it has
> <boost/type_traits/ice.hpp>. However, intrusive_ptr.hpp and scoped_ptr.hpp
> needed the above #include (thanks!).
Please consider an alternative approach that doesn't introduce this
dependency. Thanks.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk