#include <boost/gil/io/device.hpp>
#include <boost/gil/io/get_reader.hpp>
#include <boost/gil/io/path_spec.hpp>
-
-#include <boost/mpl/and.hpp>
-#include <boost/type_traits/is_base_and_derived.hpp>
+#include <boost/gil/detail/mp11.hpp>
#include <type_traits>
void read_view(Reader reader, View const& view,
typename std::enable_if
<
- mpl::and_
+ mp11::mp_and
<
detail::is_reader<Reader>,
typename is_format_tag<typename Reader::format_tag_t>::type,
image_read_settings<FormatTag> const& settings,
typename std::enable_if
<
- mpl::and_
+ mp11::mp_and
<
detail::is_read_device<FormatTag, Device>,
typename is_format_tag<FormatTag>::type,
void read_view(Device& file, View const& view, FormatTag const& tag,
typename std::enable_if
<
- mpl::and_
+ mp11::mp_and
<
typename is_format_tag<FormatTag>::type,
detail::is_read_device<FormatTag, Device>,
image_read_settings<FormatTag> const& settings,
typename std::enable_if
<
- mpl::and_
+ mp11::mp_and
<
typename detail::is_supported_path_spec<String>::type,
typename is_format_tag<FormatTag>::type,
void read_view(String const& file_name, View const& view, FormatTag const& tag,
typename std::enable_if
<
- mpl::and_
+ mp11::mp_and
<
typename detail::is_supported_path_spec<String>::type,
typename is_format_tag<FormatTag>::type,