Changeset 590:5c1465127b79 in lemon0.x for src/hugo/smart_graph.h
 Timestamp:
 05/09/04 18:21:56 (17 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@769
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/hugo/smart_graph.h
r579 r590 64 64 public: 65 65 template <typename T> class EdgeMap; 66 template <typename T> class EdgeMap;66 template <typename T> class NodeMap; 67 67 68 68 class Node; … … 308 308 309 309 ///\todo It can copy between different types. 310 /// 310 ///\todo We could use 'copy' 311 311 template<typename TT> NodeMap(const NodeMap<TT> &m) : 312 DynMapBase<Node>(*m.G) 312 DynMapBase<Node>(*m.G), container(m.container.size()) 313 313 { 314 314 G>dyn_node_maps.push_back(this); … … 399 399 400 400 ///\todo It can copy between different types. 401 /// 402 template<typename TT> EdgeMap(const EdgeMap<TT> &m) : 403 DynMapBase<Edge>(*m.G) 401 template<typename TT> EdgeMap(const EdgeMap<TT> &m) 402 : DynMapBase<Edge>(*m.G), container(m.container.size()) 404 403 { 405 404 G>dyn_edge_maps.push_back(this); … … 542 541 /// 543 542 544 template<typename TT> SymEdgeMap(const SymEdgeMap<TT> &m) :545 DynMapBase<SymEdge>(*m.G)543 template<typename TT> SymEdgeMap(const SymEdgeMap<TT> &m) 544 : DynMapBase<SymEdge>(*m.G), container(m.container.size()) 546 545 { 547 546 G>dyn_node_maps.push_back(this); … … 614 613 615 614 616 #endif // SMART_GRAPH_H615 #endif //HUGO_SMART_GRAPH_H
Note: See TracChangeset
for help on using the changeset viewer.