8 #ifndef BOOST_GIL_CONCEPTS_COLOR_HPP     9 #define BOOST_GIL_CONCEPTS_COLOR_HPP    11 #include <boost/gil/concepts/concept_check.hpp>    13 #include <type_traits>    15 #if defined(BOOST_CLANG)    16 #pragma clang diagnostic push    17 #pragma clang diagnostic ignored "-Wunused-local-typedefs"    20 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)    21 #pragma GCC diagnostic push    22 #pragma GCC diagnostic ignored "-Wunused-local-typedefs"    25 namespace boost { 
namespace gil {
    35 template <
typename CS>
    47 template <
typename CS1, 
typename CS2>
    48 struct color_spaces_are_compatible : std::is_same<CS1, CS2> {};
    58 template <
typename CS1, 
typename CS2>
    63         static_assert(color_spaces_are_compatible<CS1, CS2>::value, 
"");
    76 template <
typename CM>
    90 #if defined(BOOST_CLANG)    91 #pragma clang diagnostic pop    94 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)    95 #pragma GCC diagnostic pop Channel mapping concept.
Definition: color.hpp:77
Color space type concept.
Definition: color.hpp:36
Two color spaces are compatible if they are the same.
Definition: color.hpp:59