Boost GIL


channels_are_compatible< T1, T2 > Struct Template Reference

Predicate metafunction returning whether two channels are compatibleChannels are considered compatible if their value types (ignoring constness and references) are the same. More...

#include <gil_concept.hpp>

Inherits is_same< channel_traits< T1 >::value_type, channel_traits< T2 >::value_type >.

Detailed Description

template<typename T1, typename T2>
struct boost::gil::channels_are_compatible< T1, T2 >

Predicate metafunction returning whether two channels are compatible

Channels are considered compatible if their value types (ignoring constness and references) are the same.

Example:

BOOST_STATIC_ASSERT((channels_are_compatible<uint8_t, const uint8_t&>::value));

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