#include <boost/gil/color_base.hpp>
#include <boost/gil/io/base.hpp>
-#include <boost/mpl/not.hpp>
-#include <boost/type_traits/is_same.hpp>
+#include <type_traits>
namespace boost{ namespace gil {
} // namespace detail
-template< typename Pixel >
-struct is_read_supported< Pixel
- , tiff_tag
- >
- : mpl::bool_< detail::tiff_read_support::is_supported > {};
-
-template< typename Pixel >
-struct is_write_supported< Pixel
- , tiff_tag
- >
- : mpl::bool_< detail::tiff_write_support::is_supported >
+template<typename Pixel>
+struct is_read_supported<Pixel, tiff_tag>
+ : std::integral_constant<bool, detail::tiff_read_support::is_supported>
{};
-} // namespace gil
-} // namespace boost
+template<typename Pixel>
+struct is_write_supported<Pixel, tiff_tag>
+ : std::integral_constant<bool, detail::tiff_write_support::is_supported>
+{};
+
+}} // namespace boost::gil
#endif