8 #ifndef BOOST_GIL_CONCEPTS_COLOR_HPP 9 #define BOOST_GIL_CONCEPTS_COLOR_HPP 11 #include <boost/gil/concepts/concept_check.hpp> 13 #include <boost/type_traits.hpp> 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 >= 40600) 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 : is_same<CS1, CS2>
60 template <
typename CS1,
typename CS2>
65 static_assert(color_spaces_are_compatible<CS1, CS2>::value,
"");
78 template <
typename CM>
92 #if defined(BOOST_CLANG) 93 #pragma clang diagnostic pop 96 #if defined(BOOST_GCC) && (BOOST_GCC >= 40600) 97 #pragma GCC diagnostic pop Definition: algorithm.hpp:30
Channel mapping concept.
Definition: color.hpp:79
Color space type concept.
Definition: color.hpp:36
Two color spaces are compatible if they are the same.
Definition: color.hpp:61