// // Copyright 2019 Mateusz Loskot // Copyright 2005-2007 Adobe Systems Incorporated // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #ifndef BOOST_GIL_DETAIL_IS_CHANNEL_INTEGRAL_HPP #define BOOST_GIL_DETAIL_IS_CHANNEL_INTEGRAL_HPP #include #include namespace boost { namespace gil { namespace detail { template struct is_channel_integral : std::is_integral {}; template struct is_channel_integral> : std::true_type {}; template struct is_channel_integral < boost::gil::packed_channel_reference > : std::true_type {}; template struct is_channel_integral < boost::gil::packed_dynamic_channel_reference > : std::true_type {}; template struct is_channel_integral < boost::gil::scoped_channel_value > : std::is_integral {}; }}} //namespace boost::gil::detail #endif