Changeset 962:1a770e9f80b2 in lemon0.x for src/lemon/concept/graph_component.h
 Timestamp:
 11/05/04 01:31:49 (19 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@1345
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/lemon/concept/graph_component.h
r961 r962 264 264 function_requires< GraphItemConcept<Edge> >(); 265 265 { 266 const Graph& const_graph = graph;267 266 Node n; 268 267 Edge e; 269 n = const_graph.tail(e);270 n = const_graph.head(e);268 n = graph.tail(e); 269 n = graph.head(e); 271 270 } 272 271 } 273 272 274 Graph& graph;273 const Graph& graph; 275 274 }; 276 275 … … 646 645 template <typename Graph> 647 646 struct IterableGraphComponentConcept { 648 649 647 void constraints() { 650 648 function_requires< BaseIterableGraphComponentConcept<Graph> >(); … … 662 660 function_requires< GraphIncIteratorConcept<InEdgeIt, Graph> >(); 663 661 } 664 Graph& graph;665 662 }; 666 663
Note: See TracChangeset
for help on using the changeset viewer.