libpsynth 0.2.1
Public Member Functions | Public Attributes
psynth::sound::IteratorAdaptorConcept< Iterator > Struct Template Reference

In addition to Psynth iterator requirements, Psynth iterator adaptors must provide the following metafunctions: More...

#include <concept.hpp>

List of all members.

Public Member Functions

void constraints ()

Public Attributes

Iterator it

Detailed Description

template<typename Iterator>
struct psynth::sound::IteratorAdaptorConcept< Iterator >

In addition to Psynth iterator requirements, Psynth iterator adaptors must provide the following metafunctions:

The adaptee can be obtained from the iterator via the "base()" method.

concept IteratorAdaptorConcept<boost_concepts::ForwardTraversalConcept Iterator> {
    where SameType<is_iterator_adaptor<Iterator>::type, boost::mpl::true_>;

    typename iterator_adaptor_get_base<Iterator>;
        where Metafunction<iterator_adaptor_get_base<Iterator> >;
        where boost_concepts::ForwardTraversalConcept<iterator_adaptor_get_base<Iterator>::type>;
    
    typename another_iterator; 
    typename iterator_adaptor_rebind<Iterator,another_iterator>::type;
        where boost_concepts::ForwardTraversalConcept<another_iterator>;
        where IteratorAdaptorConcept<iterator_adaptor_rebind<Iterator,another_iterator>::type>;

    const iterator_adaptor_get_base<Iterator>::type& Iterator::base() const;
};

Member Function Documentation

template<typename Iterator >
void psynth::sound::IteratorAdaptorConcept< Iterator >::constraints ( ) [inline]

Member Data Documentation

template<typename Iterator >
Iterator psynth::sound::IteratorAdaptorConcept< Iterator >::it

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