libpsynth 0.2.1
Classes
element_type,

element_reference_type, element_const_reference_type More...

Classes

struct  psynth::sound::element_type< ChannelBase >
 Specifies the element type of a homogeneous channel base. More...
struct  psynth::sound::element_reference_type< ChannelBase >
 Specifies the return type of the mutable element accessor sound::at_c of a homogeneous channel base. More...
struct  psynth::sound::element_const_reference_type< ChannelBase >
 Specifies the return type of the constant element accessor sound::at_c of a homogeneous channel base. More...

Detailed Description

element_reference_type, element_const_reference_type

Types for homogeneous channel bases

Example:

   typedef element_type<rgb8c_planar_ptr_t>::type element_t;
   BOOST_STATIC_ASSERT((boost::is_same<element_t, const bits8*>::value));