Boost GIL


Classes
element_type, element_reference_type, element_const_reference_type

Types for homogeneous color bases. More...

Classes

struct  element_type< ColorBase >
 Specifies the element type of a homogeneous color base. More...
 
struct  element_reference_type< ColorBase >
 Specifies the return type of the mutable element accessor at_c of a homogeneous color base. More...
 
struct  element_const_reference_type< ColorBase >
 Specifies the return type of the constant element accessor at_c of a homogeneous color base. More...
 

Detailed Description

Types for homogeneous color bases.

element_type, element_reference_type, element_const_reference_type: Support for homogeneous color bases

Example:

using element_t = element_type<rgb8c_planar_ptr_t>::type;
static_assert(std::is_same<element_t, const uint8_t*>::value, "");