forked from boostorg/smart_ptr
Remove uses of BOOST_NO_FUNCTION_TEMPLATE_ORDERING
This commit is contained in:
@@ -194,8 +194,6 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined( BOOST_NO_FUNCTION_TEMPLATE_ORDERING )
|
|
||||||
|
|
||||||
template< class P, class D > shared_count( P p, sp_inplace_tag<D> ): pi_( 0 )
|
template< class P, class D > shared_count( P p, sp_inplace_tag<D> ): pi_( 0 )
|
||||||
#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
|
#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
|
||||||
, id_(shared_count_id)
|
, id_(shared_count_id)
|
||||||
@@ -226,8 +224,6 @@ public:
|
|||||||
#endif // #ifndef BOOST_NO_EXCEPTIONS
|
#endif // #ifndef BOOST_NO_EXCEPTIONS
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !defined( BOOST_NO_FUNCTION_TEMPLATE_ORDERING )
|
|
||||||
|
|
||||||
template<class P, class D, class A> shared_count( P p, D d, A a ): pi_( 0 )
|
template<class P, class D, class A> shared_count( P p, D d, A a ): pi_( 0 )
|
||||||
#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
|
#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
|
||||||
, id_(shared_count_id)
|
, id_(shared_count_id)
|
||||||
@@ -283,8 +279,6 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined( BOOST_NO_FUNCTION_TEMPLATE_ORDERING )
|
|
||||||
|
|
||||||
template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 )
|
template< class P, class D, class A > shared_count( P p, sp_inplace_tag< D >, A a ): pi_( 0 )
|
||||||
#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
|
#if defined(BOOST_SP_ENABLE_DEBUG_HOOKS)
|
||||||
, id_(shared_count_id)
|
, id_(shared_count_id)
|
||||||
@@ -340,8 +334,6 @@ public:
|
|||||||
#endif // #ifndef BOOST_NO_EXCEPTIONS
|
#endif // #ifndef BOOST_NO_EXCEPTIONS
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !defined( BOOST_NO_FUNCTION_TEMPLATE_ORDERING )
|
|
||||||
|
|
||||||
#ifndef BOOST_NO_AUTO_PTR
|
#ifndef BOOST_NO_AUTO_PTR
|
||||||
|
|
||||||
// auto_ptr<Y> is special cased to provide the strong guarantee
|
// auto_ptr<Y> is special cased to provide the strong guarantee
|
||||||
|
@@ -191,11 +191,7 @@ template< class T, std::size_t N > struct sp_if_not_array< T[N] >
|
|||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
#if !defined( BOOST_NO_FUNCTION_TEMPLATE_ORDERING )
|
#define BOOST_SP_MSD( T ) boost::detail::sp_inplace_tag< boost::detail::sp_ms_deleter< T > >()
|
||||||
# define BOOST_SP_MSD( T ) boost::detail::sp_inplace_tag< boost::detail::sp_ms_deleter< T > >()
|
|
||||||
#else
|
|
||||||
# define BOOST_SP_MSD( T ) boost::detail::sp_ms_deleter< T >()
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// _noinit versions
|
// _noinit versions
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user