Boost GIL


Classes

size: Semantic channel size More...

Classes

struct  size< ColorBase >
 Returns an integral constant type specifying the number of elements in a color base. More...
 

Detailed Description

size: Semantic channel size

Returns an integral constant type specifying the number of elements in a color base

Example:

static_assert(size<rgb8_pixel_t>::value == 3, "");
static_assert(size<cmyk8_planar_ptr_t>::value == 4, "");