We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4fc3afa + 2dc5a92 commit 7b19604Copy full SHA for 7b19604
include/boost/python/object_operators.hpp
@@ -9,7 +9,7 @@
9
10
# include <boost/python/object_core.hpp>
11
# include <boost/python/call.hpp>
12
-# include <boost/iterator/detail/enable_if.hpp>
+# include <boost/type_traits/enable_if.hpp>
13
# include <boost/mpl/bool.hpp>
14
15
# include <boost/iterator/detail/config_def.hpp>
@@ -40,7 +40,7 @@ struct is_object_operators
40
# if !defined(BOOST_NO_SFINAE) && !defined(BOOST_NO_IS_CONVERTIBLE)
41
template <class L, class R, class T>
42
struct enable_binary
43
- : boost::iterators::enable_if<is_object_operators<L,R>, T>
+ : boost::enable_if_<is_object_operators<L,R>::value, T>
44
{};
45
# define BOOST_PYTHON_BINARY_RETURN(T) typename enable_binary<L,R,T>::type
46
# else
0 commit comments