1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #ifndef BOOST_INTEROPERABLE_23022003THW_HPP
- # define BOOST_INTEROPERABLE_23022003THW_HPP
- # include <boost/mpl/bool.hpp>
- # include <boost/mpl/or.hpp>
- # include <boost/type_traits/is_convertible.hpp>
- # include <boost/iterator/detail/config_def.hpp> // must appear last
- namespace boost
- {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- template <typename A, typename B>
- struct is_interoperable
- # ifdef BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY
- : mpl::true_
- # else
- : mpl::or_<
- is_convertible< A, B >
- , is_convertible< B, A > >
- # endif
- {
- };
- }
- # include <boost/iterator/detail/config_undef.hpp>
- #endif
|