Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::ColorBasesCompatibleConcept< ColorBase1, ColorBase2 > Struct Template Reference

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

#include <gil_concept.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>;
};

Member Function Documentation

template<typename ColorBase1 , typename ColorBase2 >
void boost::gil::ColorBasesCompatibleConcept< ColorBase1, ColorBase2 >::constraints ( )
inline

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