libpsynth 0.2.1
Classes
size

Returns an MPL integral type specifying the number of elements in a channel base. More...

Classes

struct  psynth::sound::size< ChannelBase >
 Returns an MPL integral type specifying the number of elements in a channel base. More...

Detailed Description

Returns an MPL integral type specifying the number of elements in a channel base.

Example:

   BOOST_STATIC_ASSERT((size<rgb8_frame_t>::value == 3));
   BOOST_STATIC_ASSERT((size<cmyk8_planar_ptr_t>::value == 4));