mirror of
https://github.com/boostorg/function.git
synced 2025-07-23 17:37:14 +02:00
Fix on BCC 5.6.1 (Hugo Duncan)
[SVN r16216]
This commit is contained in:
@ -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&
|
||||
|
Reference in New Issue
Block a user