Changeset 989:ca95f8b5c931 in lemon-0.x for src/lemon/concept/undir_graph.h
- Timestamp:
- 11/13/04 22:37:54 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1379
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/concept/undir_graph.h
r986 r989 39 39 typedef typename Graph::Edge Edge; 40 40 typedef typename Graph::Node Node; 41 41 42 void constraints() { 42 function_requires< BaseIterableGraphComponentConcept<Graph>>();43 function_requires< GraphItemConcept<UndirEdge>>();43 checkConcept<BaseIterableGraphComponent, Graph>(); 44 checkConcept<GraphItem<'u'>, UndirEdge >(); 44 45 45 46 /// \bug this should be base_and_derived: … … 61 62 struct IterableUndirGraphConcept { 62 63 void constraints() { 63 function_requires< BaseIterableUndirGraphConcept<Graph> > (); 64 function_requires< IterableGraphComponentConcept<Graph> > (); 64 /// \todo we don't need the iterable component should base iterable 65 // checkConcept< BaseIterableUndirGraph, Graph > (); 66 checkConcept< IterableGraphComponent, Graph > (); 65 67 66 68 typedef typename Graph::UndirEdge UndirEdge; 67 69 typedef typename Graph::UndirEdgeIt UndirEdgeIt; 68 70 69 function_requires< 70 GraphIteratorConcept<UndirEdgeIt, Graph, UndirEdge> >(); 71 checkConcept< GraphIterator<Graph, UndirEdge>, UndirEdgeIt >(); 71 72 } 72 73 };
Note: See TracChangeset
for help on using the changeset viewer.