NULL pointers can be of any integral type, not just int (Howard Hinnant)

[SVN r19989]
This commit is contained in:
Douglas Gregor
2003-09-10 04:16:17 +00:00
parent 043d0236a7
commit 66cd32b565
2 changed files with 5 additions and 5 deletions

View File

@ -285,7 +285,7 @@ namespace boost {
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
,typename detail::function::enable_if<
(::boost::type_traits::ice_not<
(is_same<Functor, int>::value)>::value),
(is_integral<Functor>::value)>::value),
int>::type = 0
#endif // BOOST_FUNCTION_NO_ENABLE_IF
) :
@ -338,7 +338,7 @@ namespace boost {
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
typename detail::function::enable_if<
(::boost::type_traits::ice_not<
(is_same<Functor, int>::value)>::value),
(is_integral<Functor>::value)>::value),
BOOST_FUNCTION_FUNCTION&>::type
#else
BOOST_FUNCTION_FUNCTION&
@ -594,7 +594,7 @@ public:
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
,typename detail::function::enable_if<
(::boost::type_traits::ice_not<
(is_same<Functor, int>::value)>::value),
(is_integral<Functor>::value)>::value),
int>::type = 0
#endif
) :
@ -620,7 +620,7 @@ public:
#ifndef BOOST_FUNCTION_NO_ENABLE_IF
typename detail::function::enable_if<
(::boost::type_traits::ice_not<
(is_same<Functor, int>::value)>::value),
(is_integral<Functor>::value)>::value),
self_type&>::type
#else
self_type&