123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #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 {
- namespace iterators {
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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
- {
- };
- }
- using iterators::is_interoperable;
- }
- # include <boost/iterator/detail/config_undef.hpp>
- #endif
|