Imported Upstream version 1.72.0
[platform/upstream/boost.git] / boost / gil / extension / io / targa / detail / is_allowed.hpp
index fe49ac4..1431d3e 100644 (file)
 
 #include <boost/gil/extension/io/targa/tags.hpp>
 
+#include <type_traits>
+
 namespace boost { namespace gil { namespace detail {
 
 template< typename View >
 bool is_allowed( const image_read_info< targa_tag >& info
-               , mpl::true_   // is read_and_no_convert
+               , std::true_type   // is read_and_no_convert
                )
 {
     targa_depth::type src_bits_per_pixel = 0;
@@ -42,7 +44,7 @@ bool is_allowed( const image_read_info< targa_tag >& info
 
 template< typename View >
 bool is_allowed( const image_read_info< targa_tag >& /* info */
-               , mpl::false_  // is read_and_convert
+               , std::false_type  // is read_and_convert
                )
 {
     return true;