Commit 9bb1f5d4 authored by Florent D'Halluin's avatar Florent D'Halluin
Browse files

Add graph in IteratorBase CTOR.

* include/vaucanson/automata/implementation/iterators/iterator_base.hh,
* include/vaucanson/automata/implementation/iterators/iterator_base.hxx:
Do that.
parent ba05cd38
2009-09-15 d-halluin <d-halluin@lrde.epita.fr>
Add graph in IteratorBase CTOR.
* include/vaucanson/automata/implementation/iterators/iterator_base.hh,
* include/vaucanson/automata/implementation/iterators/iterator_base.hxx:
Do that.
2009-09-15 Jrme Galtier <jerome.galtier@lrde.epita.fr>
 
Tie IteratorBase to a graph instead of an automaton.
......
......@@ -46,7 +46,7 @@ namespace vcsn
typedef typename iterator_traits_<S>::graph_t graph_t;
typedef typename iterator_traits_<S>::value_type value_type;
IteratorBase();
IteratorBase(graph_t graph);
~IteratorBase();
void next();
......
......@@ -23,7 +23,8 @@ namespace vcsn
{
template <typename S>
IteratorBase<S>::IteratorBase()
IteratorBase<S>::IteratorBase(graph_t graph)
: graph_(graph)
{}
template <typename 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