Commit 4858014c authored by Jérôme Galtier's avatar Jérôme Galtier
Browse files

Remove inheritance for iterator traits.

* include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hh,
include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hh,
include/vaucanson/automata/implementation/iterators/transition_iterator_base.hh
(iterator_traits_): Do not inherit from a base class, as it does not
fit well with our static inheritance idiom.
parent b0fb7a57
2009-09-16 Jrme Galtier <jerome.galtier@lrde.epita.fr>
Remove inheritance for iterator traits.
* include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hh,
include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hh,
include/vaucanson/automata/implementation/iterators/transition_iterator_base.hh
(iterator_traits_): Do not inherit from a base class, as it does not
fit well with our static inheritance idiom.
2009-09-16 Jrme Galtier <jerome.galtier@lrde.epita.fr>
 
Replace the labels are words context by lal.
......
......@@ -30,7 +30,6 @@ namespace vcsn
*/
template <typename T>
struct iterator_traits_<DeltaTransitionIterator<T> >
: iterator_traits_<TransitionIteratorBase<DeltaTransitionIterator<T> > >
{
typedef T graph_t;
typedef typename graph_t::htransition_t value_type;
......
......@@ -30,7 +30,6 @@ namespace vcsn
*/
template <typename T>
struct iterator_traits_<RDeltaTransitionIterator<T> >
: iterator_traits_<TransitionIteratorBase<RDeltaTransitionIterator<T> > >
{
typedef T graph_t;
typedef typename graph_t::htransition_t value_type;
......
......@@ -30,7 +30,6 @@ namespace vcsn
*/
template <typename S>
struct iterator_traits_<TransitionIteratorBase<S> >
: iterator_traits_<IteratorBase<S> >
{
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment