Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / gil / io / conversion_policies.hpp
index 24ce5d6..b579d78 100644 (file)
@@ -9,13 +9,14 @@
 #define BOOST_GIL_IO_CONVERSION_POLICIES_HPP
 
 #include <boost/gil/image_view_factory.hpp>
+#include <boost/gil/detail/mp11.hpp>
 #include <boost/gil/io/error.hpp>
 
 #include <algorithm>
 #include <iterator>
 #include <type_traits>
 
-namespace boost{namespace gil{ namespace detail {
+namespace boost{ namespace gil { namespace detail {
 
 struct read_and_no_convert
 {
@@ -27,7 +28,7 @@ public:
         InIterator const& /*begin*/, InIterator const& /*end*/ , OutIterator /*out*/,
         typename std::enable_if
         <
-            mpl::not_
+            mp11::mp_not
             <
                 pixels_are_compatible
                 <
@@ -93,10 +94,10 @@ public:
 /// is_read_only metafunction
 /// \brief Determines if reader type is read only ( no conversion ).
 template< typename Conversion_Policy >
-struct is_read_only : mpl::false_ {};
+struct is_read_only : std::false_type {};
 
 template<>
-struct is_read_only< detail::read_and_no_convert > : mpl::true_ {};
+struct is_read_only<detail::read_and_no_convert> : std::true_type {};
 
 } // namespace detail
 } // namespace gil