Changeset 279:be43902fadb7 in lemon-0.x for src/work/marci/graph_wrapper.h
- Timestamp:
- 04/03/04 16:22:33 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@393
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/graph_wrapper.h
r275 r279 449 449 // }; 450 450 451 452 451 template<typename GraphWrapper> 453 452 class RevGraphWrapper : public GraphWrapperSkeleton<GraphWrapper> { … … 455 454 typedef typename GraphWrapperSkeleton<GraphWrapper>::Node Node; 456 455 typedef typename GraphWrapperSkeleton<GraphWrapper>::Edge Edge; 456 //FIXME 457 //If GraphWrapper::OutEdgeIt is not defined 458 //and we do not want to use RevGraphWrapper::InEdgeIt, 459 //this won't work, because of typedef 460 //OR 461 //graphs have to define their non-existing iterators to void 462 //Unfortunately all the typedefs are instantiated in templates, 463 //unlike other stuff 457 464 typedef typename GraphWrapperSkeleton<GraphWrapper>::OutEdgeIt InEdgeIt; 458 465 typedef typename GraphWrapperSkeleton<GraphWrapper>::InEdgeIt OutEdgeIt; … … 703 710 class Edge { 704 711 friend class UndirGraphWrapper<GraphWrapper>; 712 protected: 705 713 bool out_or_in; //true iff out 706 714 GraphOutEdgeIt out;
Note: See TracChangeset
for help on using the changeset viewer.