libpsynth 0.2.1
Public Member Functions | Public Attributes
psynth::sound::HomogeneousChannelBaseConcept< ChannelBase > Struct Template Reference

Channel base whose elements all have the same type. More...

#include <concept.hpp>

List of all members.

Public Member Functions

void constraints ()

Public Attributes

ChannelBase cb

Detailed Description

template<typename ChannelBase>
struct psynth::sound::HomogeneousChannelBaseConcept< ChannelBase >

Channel base whose elements all have the same type.

concept HomogeneousChannelBaseConcept<ChannelBaseConcept CB> {
    // For all K in [0 ... size<C1>::value-1):
    //     where SameType<kth_element_type<CB,K>::type,
                             kth_element_type<CB,K+1>::type>;    
    kth_element_const_reference_type<CB,0>::type dynamic_at_c(
           const CB&, std::size_t n) const;
};

Member Function Documentation

template<typename ChannelBase >
void psynth::sound::HomogeneousChannelBaseConcept< ChannelBase >::constraints ( ) [inline]

Member Data Documentation

template<typename ChannelBase >
ChannelBase psynth::sound::HomogeneousChannelBaseConcept< ChannelBase >::cb

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