|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2005-11-11 05:32:52
> Can you try guarding this #include like so:
>
> #if defined(BOOST_SP_USE_STD_ALLOCATOR)
> #include <memory> // std::allocator
> #endif
>
> and see if this fixes the problem?
Which #include? In shared_ptr.hpp and associated headers? Isn't the
include needed for auto_ptr interoperability regardless of whether
std::allocator is used? In any case the code should work regardless of
whether BOOST_SP_USE_STD_ALLOCATOR is defined.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk