Generic Image Library: ColorBasesCompatibleConcept< ColorBase1, ColorBase2 > Struct Template Reference

###  | #  |

Public Member Functions | List of all members
ColorBasesCompatibleConcept< ColorBase1, ColorBase2 > Struct Template Reference
ColorBase » Concepts

Two color bases are compatible if they have the same color space and their elements are compatible, semantic-pairwise. More...

`#include <color_base.hpp>`

## Public Member Functions
void | constraints ()

## Detailed Description

template<typename ColorBase1, typename ColorBase2>
struct boost::gil::ColorBasesCompatibleConcept< ColorBase1, ColorBase2 >

Two color bases are compatible if they have the same color space and their elements are compatible, semantic-pairwise.

concept ColorBasesCompatibleConcept<ColorBaseConcept C1, ColorBaseConcept C2>
{
where SameType<C1::layout_t::color_space_t, C2::layout_t::color_space_t>;
// also, for all K in [0 ... size<C1>::value):
// where Convertible<kth_semantic_element_type<C1,K>::type, kth_semantic_element_type<C2,K>::type>;
// where Convertible<kth_semantic_element_type<C2,K>::type, kth_semantic_element_type<C1,K>::type>;
};
boost::gil::ColorBaseConcept
A color base is a container of color elements (such as channels, channel references or channel pointe...
Definition concepts/color_base.hpp:138
boost::gil::ColorBasesCompatibleConcept
Two color bases are compatible if they have the same color space and their elements are compatible,...
Definition concepts/color_base.hpp:304
boost::gil::SameType
Concept of types equivalence requirement.
Definition basic.hpp:179

The documentation for this struct was generated from the following file:

- concepts/color_base.hpp