Changeset 2329:3f4a04a9b7bf in lemon-0.x for lemon/bits
- Timestamp:
- 12/12/06 14:35:52 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3105
- Location:
- lemon/bits
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/graph_extender.h
r2290 r2329 284 284 285 285 template <typename Graph, typename NodeRefMap, typename EdgeRefMap> 286 void clone(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) {287 Parent:: clone(graph, nodeRef, edgeRef);286 void build(const Graph& graph, NodeRefMap& nodeRef, EdgeRefMap& edgeRef) { 287 Parent::build(graph, nodeRef, edgeRef); 288 288 getNotifier(Node()).build(); 289 289 getNotifier(Edge()).build(); … … 695 695 696 696 template <typename Graph, typename NodeRefMap, typename UEdgeRefMap> 697 void clone(const Graph& graph, NodeRefMap& nodeRef,697 void build(const Graph& graph, NodeRefMap& nodeRef, 698 698 UEdgeRefMap& uEdgeRef) { 699 Parent:: clone(graph, nodeRef, uEdgeRef);699 Parent::build(graph, nodeRef, uEdgeRef); 700 700 getNotifier(Node()).build(); 701 701 getNotifier(UEdge()).build(); … … 1319 1319 template <typename Graph, typename ANodeRefMap, 1320 1320 typename BNodeRefMap, typename UEdgeRefMap> 1321 void clone(const Graph& graph, ANodeRefMap& aNodeRef,1321 void build(const Graph& graph, ANodeRefMap& aNodeRef, 1322 1322 BNodeRefMap& bNodeRef, UEdgeRefMap& uEdgeRef) { 1323 Parent:: clone(graph, aNodeRef, bNodeRef, uEdgeRef);1323 Parent::build(graph, aNodeRef, bNodeRef, uEdgeRef); 1324 1324 getNotifier(ANode()).build(); 1325 1325 getNotifier(BNode()).build(); -
lemon/bits/traits.h
r2290 r2329 325 325 326 326 template <typename Graph, typename Enable = void> 327 struct CloneableTagIndicator {328 static const bool value = false; 329 }; 330 331 template <typename Graph> 332 struct CloneableTagIndicator<333 Graph, 334 typename enable_if<typename Graph:: CloneableTag, void>::type327 struct BuildTagIndicator { 328 static const bool value = false; 329 }; 330 331 template <typename Graph> 332 struct BuildTagIndicator< 333 Graph, 334 typename enable_if<typename Graph::BuildTag, void>::type 335 335 > { 336 336 static const bool value = true;
Note: See TracChangeset
for help on using the changeset viewer.