boost::gil::views_are_compatible

Returns whether two views are compatible

Synopsis

template<
    typename V1,
    typename V2>
struct views_are_compatible
    : pixels_are_compatible<V1::value_type, V2::value_type>

Description

Views are compatible if their pixels are compatible. Compatible views can be assigned and copy constructed from one another.

Base Classes

Name

Description

pixels_are_compatible<V1::value_type, V2::value_type>

Returns whether two pixels are compatible Pixels are compatible if their channels and color space types are compatible. Compatible pixels can be assigned and copy constructed from one another.

Template Parameters

Name

Description

V1

Models ImageViewConcept

V2

Models ImageViewConcept

Created with MrDocs