Fix on BCC 5.6.1 (Hugo Duncan)

[SVN r16216]
This commit is contained in:
Douglas Gregor
2002-11-12 22:36:29 +00:00
parent 79fca4d1b2
commit 7baa23912d

View File

@ -282,7 +282,8 @@ namespace boost {
BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
,typename detail::function::enable_if<
(!is_same<Functor, int>::value),
(::boost::type_traits::ice_not<
is_same<Functor, int>::value>::value),
int>::type = 0
#endif // BOOST_FUNCTION_NO_ENABLE_IF
) :
@ -329,7 +330,7 @@ namespace boost {
template<typename Functor>
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
typename detail::function::enable_if<
(!is_same<Functor, int>::value),
(::boost::type_traits::ice_not<is_same<Functor, int>::value>::value),
BOOST_FUNCTION_FUNCTION&>::type
#else
BOOST_FUNCTION_FUNCTION&
@ -577,7 +578,7 @@ public:
function(Functor f
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
,typename detail::function::enable_if<
(!is_same<Functor, int>::value),
(::boost::type_traits::ice_not<is_same<Functor, int>::value>::value),
int>::type = 0
#endif
) :
@ -602,7 +603,7 @@ public:
template<typename Functor>
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
typename detail::function::enable_if<
(!is_same<Functor, int>::value),
(::boost::type_traits::ice_not<is_same<Functor, int>::value>::value),
self_type&>::type
#else
self_type&