8#ifndef BOOST_GIL_IO_GET_READ_DEVICE_HPP
9#define BOOST_GIL_IO_GET_READ_DEVICE_HPP
11#include <boost/gil/detail/mp11.hpp>
12#include <boost/gil/io/device.hpp>
13#include <boost/gil/io/path_spec.hpp>
17namespace boost {
namespace gil {
26template <
typename Device,
typename FormatTag>
31 typename std::enable_if
35 detail::is_adaptable_input_device<FormatTag, Device>,
36 is_format_tag<FormatTag>
41 using type =
typename detail::is_adaptable_input_device
48template <
typename String,
typename FormatTag>
53 typename std::enable_if
57 detail::is_supported_path_spec<String>,
58 is_format_tag<FormatTag>
63 using type = detail::file_stream_device<FormatTag>;
defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
Definition algorithm.hpp:36