Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / gil / io / base.hpp
index e7a5b1a..ab9294c 100644 (file)
 #include <boost/gil/io/error.hpp>
 #include <boost/gil/io/typedefs.hpp>
 
-#include <boost/type_traits/is_base_of.hpp>
-
 #include <istream>
 #include <ostream>
+#include <type_traits>
 #include <vector>
 
 namespace boost { namespace gil {
@@ -33,9 +32,8 @@ struct property_base
     using type = Property;
 };
 
-template<typename FormatTag> struct is_format_tag : is_base_and_derived< format_tag
-                                                                       , FormatTag
-                                                                       > {};
+template<typename FormatTag>
+struct is_format_tag : std::is_base_of<format_tag, FormatTag> {};
 
 struct image_read_settings_base
 {
@@ -71,7 +69,7 @@ public:
 };
 
 /**
- * Boolean meta function, mpl::true_ if the pixel type \a PixelType is supported
+ * Boolean meta function, std::true_type if the pixel type \a PixelType is supported
  * by the image format identified with \a FormatTag.
  * \todo the name is_supported is to generic, pick something more IO realted.
  */