#include <cstdio>
#include <sstream>
+#include <type_traits>
#include <vector>
namespace boost { namespace gil {
io_error( "Image header was not read." );
}
- using is_read_and_convert_t = typename is_same
+ using is_read_and_convert_t = typename std::is_same
<
ConversionPolicy,
detail::read_and_no_convert
bool apply()
{
using view_t = typename Image::view_t;
-
- return is_allowed< view_t >( _info
- , mpl::true_()
- );
+ return is_allowed<view_t>(_info, std::true_type{});
}
private: