8#ifndef BOOST_GIL_CONCEPTS_COLOR_HPP
9#define BOOST_GIL_CONCEPTS_COLOR_HPP
11#include <boost/gil/concepts/concept_check.hpp>
15#if defined(BOOST_CLANG)
16#pragma clang diagnostic push
17#pragma clang diagnostic ignored "-Wunknown-pragmas"
18#pragma clang diagnostic ignored "-Wunused-local-typedefs"
21#if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
22#pragma GCC diagnostic push
23#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
26namespace boost {
namespace gil {
48template <
typename CS1,
typename CS2>
49struct color_spaces_are_compatible : std::is_same<CS1, CS2> {};
59template <
typename CS1,
typename CS2>
64 static_assert(color_spaces_are_compatible<CS1, CS2>::value,
"");
91#if defined(BOOST_CLANG)
92#pragma clang diagnostic pop
95#if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
96#pragma GCC diagnostic pop
defined(BOOST_NO_CXX17_HDR_MEMORY_RESOURCE)
Definition algorithm.hpp:36
Channel mapping concept.
Definition color.hpp:79
Color space type concept.
Definition color.hpp:38
Two color spaces are compatible if they are the same.
Definition color.hpp:61