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<
                out_edge_iterator
              , leda::edge const
              , bidirectional_traversal_tag>

Looks like a bug to me.

Thomas

-- 
Thomas Witt
witt_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk