
11 Nov
2005
11 Nov
'05
10:32 a.m.
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.