Boost logo

Boost :

From: Jens Müller (jens.mueller_at_[hidden])
Date: 2007-03-10 10:26:37


Thomas Witt schrieb:
> 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>

If I make these change (for all n occurences of the above), my program
using leda_graph.hpp still works fine ...

> Looks like a bug to me.

Yeah, seems so.


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