lemon/concepts/graph.h
changeset 391 624e673efa76
parent 220 a5d8c039f218
child 440 88ed40ad0d4f
equal deleted inserted replaced
6:bafc3389421c 7:0b379f1e960b
   510         ///\e
   510         ///\e
   511         NodeMap(const Graph&) { }
   511         NodeMap(const Graph&) { }
   512         ///\e
   512         ///\e
   513         NodeMap(const Graph&, T) { }
   513         NodeMap(const Graph&, T) { }
   514 
   514 
       
   515       private:
   515         ///Copy constructor
   516         ///Copy constructor
   516         NodeMap(const NodeMap& nm) : ReadWriteMap< Node, T >(nm) { }
   517         NodeMap(const NodeMap& nm) : ReadWriteMap< Node, T >(nm) { }
   517         ///Assignment operator
   518         ///Assignment operator
   518         template <typename CMap>
   519         template <typename CMap>
   519         NodeMap& operator=(const CMap&) {
   520         NodeMap& operator=(const CMap&) {
   533 
   534 
   534         ///\e
   535         ///\e
   535         ArcMap(const Graph&) { }
   536         ArcMap(const Graph&) { }
   536         ///\e
   537         ///\e
   537         ArcMap(const Graph&, T) { }
   538         ArcMap(const Graph&, T) { }
       
   539       private:
   538         ///Copy constructor
   540         ///Copy constructor
   539         ArcMap(const ArcMap& em) : ReadWriteMap<Arc,T>(em) { }
   541         ArcMap(const ArcMap& em) : ReadWriteMap<Arc,T>(em) { }
   540         ///Assignment operator
   542         ///Assignment operator
   541         template <typename CMap>
   543         template <typename CMap>
   542         ArcMap& operator=(const CMap&) {
   544         ArcMap& operator=(const CMap&) {
   556 
   558 
   557         ///\e
   559         ///\e
   558         EdgeMap(const Graph&) { }
   560         EdgeMap(const Graph&) { }
   559         ///\e
   561         ///\e
   560         EdgeMap(const Graph&, T) { }
   562         EdgeMap(const Graph&, T) { }
       
   563       private:
   561         ///Copy constructor
   564         ///Copy constructor
   562         EdgeMap(const EdgeMap& em) : ReadWriteMap<Edge,T>(em) {}
   565         EdgeMap(const EdgeMap& em) : ReadWriteMap<Edge,T>(em) {}
   563         ///Assignment operator
   566         ///Assignment operator
   564         template <typename CMap>
   567         template <typename CMap>
   565         EdgeMap& operator=(const CMap&) {
   568         EdgeMap& operator=(const CMap&) {