Changeset 2357:5365600a7a5c in lemon-0.x for lemon/path_utils.h
- Timestamp:
- 02/11/07 17:34:51 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3160
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/path_utils.h
r2350 r2357 49 49 struct PathCopySelector { 50 50 static void copy(Target& target, const Source& source) { 51 source.clear();51 target.clear(); 52 52 for (typename Source::EdgeIt it(source); it != INVALID; ++it) { 53 53 target.addBack(it); … … 61 61 typename enable_if<typename Source::RevPathTag, void>::type> { 62 62 static void copy(Target& target, const Source& source) { 63 source.clear();64 for (typename Source::Rev It it(source); it != INVALID; ++it) {63 target.clear(); 64 for (typename Source::RevEdgeIt it(source); it != INVALID; ++it) { 65 65 target.addFront(it); 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.