Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2007-03-09 21:56:19

Jens Müller wrote:
> From leda_graph.hpp:
> class out_edge_iterator
> : public iterator_facade<out_edge_iterator,
> leda::edge,
> bidirectional_traversal_tag,
> const leda::edge&,
> const leda::edge*>
> Can someone explain to me the parameter "const leda::edge*"?

I can't explain it to you, but it looks suspiciously as if the author meant

class out_edge_iterator
   : public iterator_facade<
              , leda::edge const
              , bidirectional_traversal_tag>

Looks like a bug to me.


Thomas Witt

Boost list run by bdawes at, gregod at, cpdaniel at, john at