
25 Aug
2008
25 Aug
'08
9:45 a.m.
Is this bugfix also already on the trunk? Peter Dimov schrieb:
This problem is caused by a MSVC bug triggered by the
using namespace boost;
directive in boost/serialization/detail/shared_ptr_132.hpp:45.
You should be able to fix that by deleting the lines
#if !BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x560) ) using namespace boost; #endif
and changing
#if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x564) ) template<class Y> explicit shared_ptr(Y * p): px(p), pn(p,boost::checked_deleter<Y>()) // Y must be complete #else template<class Y> explicit shared_ptr(Y * p): px(p), pn(p, checked_deleter<Y>()) // Y must be complete #endif