
26 Oct
2009
26 Oct
'09
9:58 p.m.
If I define BOOST_NO_AUTO_PTR for my project, then I don't have an error. I don't know what that definition-macro really does, but it does fix my compile-time error. - Bruce
---------------- in shared_ptr.hpp (line 146):
#if !defined( BOOST_NO_SFINAE ) && !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION ) && !defined( BOOST_NO_AUTO_PTR )
// rvalue auto_ptr support based on a technique by Dave Abrahams
template< class T, class R > struct sp_enable_if_auto_ptr // Error Here!!! { };