[Lemon-devel] Typedef for the base graph in the iterators.

DEZSO Balazs deba at inf.elte.hu
Thu Nov 16 12:04:45 CET 2006


The graph adaptors usually use the adapted graph's node and edge types. This 
solution cannot work with your idea. If we modify the current implementation, 
i.e. we change the typedefs to inheritance, then it can cause some conversion 
problems. This way I do not advise to change the current implementation.

Best, Balazs

On Wed, 15 Nov 2006 17:21:37 +0100, Alpár Jüttner wrote
> I would suggest that the graph items (Node, Edge etc) and the iterators
> 
> (NodeIt, EdgeIt etc) will also have a typedef for the base graph class.
> In this way we could spare a template parameter in several template
> classes (e.g. in IterableBoolMap and in DefaultMap).
> 
> Regards,
> Alpar
> 
> -- 
> In order to prevent people from receiving viruses
> that would seem to originate from my email,
> if you use Microsoft Windows you do not have permission
> to add this address to your address book.
> If I am in your address book, please remove me.
> Of course, this does not apply to GNU/Linux users. 
> Thank you.
> 
> _______________________________________________
> Lemon-devel mailing list
> Lemon-devel at lemon.cs.elte.hu
> http://lemon.cs.elte.hu/mailman/listinfo/lemon-devel


--
Open WebMail Project (http://openwebmail.org)
Debian Project (http://www.debian.org)




More information about the Lemon-devel mailing list