mirror of
https://github.com/boostorg/function.git
synced 2025-07-25 10:27: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
|
BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f
|
||||||
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
||||||
,typename detail::function::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
|
int>::type = 0
|
||||||
#endif // BOOST_FUNCTION_NO_ENABLE_IF
|
#endif // BOOST_FUNCTION_NO_ENABLE_IF
|
||||||
) :
|
) :
|
||||||
@ -329,7 +330,7 @@ namespace boost {
|
|||||||
template<typename Functor>
|
template<typename Functor>
|
||||||
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
||||||
typename detail::function::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
|
BOOST_FUNCTION_FUNCTION&>::type
|
||||||
#else
|
#else
|
||||||
BOOST_FUNCTION_FUNCTION&
|
BOOST_FUNCTION_FUNCTION&
|
||||||
@ -577,7 +578,7 @@ public:
|
|||||||
function(Functor f
|
function(Functor f
|
||||||
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
||||||
,typename detail::function::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
|
int>::type = 0
|
||||||
#endif
|
#endif
|
||||||
) :
|
) :
|
||||||
@ -602,7 +603,7 @@ public:
|
|||||||
template<typename Functor>
|
template<typename Functor>
|
||||||
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
|
||||||
typename detail::function::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
|
self_type&>::type
|
||||||
#else
|
#else
|
||||||
self_type&
|
self_type&
|
||||||
|
Reference in New Issue
Block a user