lemon/concepts/digraph.h
changeset 398 532f34ea9cf3
parent 220 a5d8c039f218
child 440 88ed40ad0d4f
equal deleted inserted replaced
5:1484fedb22ad 6:02c90ba2584c
   432         ///\e
   432         ///\e
   433         NodeMap(const Digraph&) { }
   433         NodeMap(const Digraph&) { }
   434         ///\e
   434         ///\e
   435         NodeMap(const Digraph&, T) { }
   435         NodeMap(const Digraph&, T) { }
   436 
   436 
       
   437       private:
   437         ///Copy constructor
   438         ///Copy constructor
   438         NodeMap(const NodeMap& nm) : ReadWriteMap< Node, T >(nm) { }
   439         NodeMap(const NodeMap& nm) : ReadWriteMap< Node, T >(nm) { }
   439         ///Assignment operator
   440         ///Assignment operator
   440         template <typename CMap>
   441         template <typename CMap>
   441         NodeMap& operator=(const CMap&) {
   442         NodeMap& operator=(const CMap&) {
   454 
   455 
   455         ///\e
   456         ///\e
   456         ArcMap(const Digraph&) { }
   457         ArcMap(const Digraph&) { }
   457         ///\e
   458         ///\e
   458         ArcMap(const Digraph&, T) { }
   459         ArcMap(const Digraph&, T) { }
       
   460       private:
   459         ///Copy constructor
   461         ///Copy constructor
   460         ArcMap(const ArcMap& em) : ReadWriteMap<Arc,T>(em) { }
   462         ArcMap(const ArcMap& em) : ReadWriteMap<Arc,T>(em) { }
   461         ///Assignment operator
   463         ///Assignment operator
   462         template <typename CMap>
   464         template <typename CMap>
   463         ArcMap& operator=(const CMap&) {
   465         ArcMap& operator=(const CMap&) {