Boost logo

Boost :

From: Hansi (hansipet_at_[hidden])
Date: 2008-08-25 05:45:54


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
>


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