src/include/smart_graph.h
changeset 535 bd79aa43f299
parent 503 769f31e9f7b0
equal deleted inserted replaced
9:59148018f7ec 10:d4b8fc02b3f6
   357 	return *this;
   357 	return *this;
   358       }
   358       }
   359       template<typename TT>
   359       template<typename TT>
   360       const NodeMap<T>& operator=(const NodeMap<TT> &m)
   360       const NodeMap<T>& operator=(const NodeMap<TT> &m)
   361       {
   361       {
   362 	copy(m.container.begin(), m.container.end(), container.begin());
   362 	std::copy(m.container.begin(), m.container.end(), container.begin());
   363 	return *this;
   363 	return *this;
   364       }
   364       }
   365       
   365       
   366       void update() {}    //Useless for Dynamic Maps
   366       void update() {}    //Useless for Dynamic Maps
   367       void update(T a) {}  //Useless for Dynamic Maps
   367       void update(T a) {}  //Useless for Dynamic Maps
   446 	return *this;
   446 	return *this;
   447       }
   447       }
   448       template<typename TT>
   448       template<typename TT>
   449       const EdgeMap<T>& operator=(const EdgeMap<TT> &m)
   449       const EdgeMap<T>& operator=(const EdgeMap<TT> &m)
   450       {
   450       {
   451 	copy(m.container.begin(), m.container.end(), container.begin());
   451 	std::copy(m.container.begin(), m.container.end(), container.begin());
   452 	return *this;
   452 	return *this;
   453       }
   453       }
   454       
   454       
   455       void update() {}    //Useless for DynMaps
   455       void update() {}    //Useless for DynMaps
   456       void update(T a) {}  //Useless for DynMaps
   456       void update(T a) {}  //Useless for DynMaps
   591 	return *this;
   591 	return *this;
   592       }
   592       }
   593       template<typename TT>
   593       template<typename TT>
   594       const SymEdgeMap<T>& operator=(const SymEdgeMap<TT> &m)
   594       const SymEdgeMap<T>& operator=(const SymEdgeMap<TT> &m)
   595       {
   595       {
   596 	copy(m.container.begin(), m.container.end(), container.begin());
   596 	std::copy(m.container.begin(), m.container.end(), container.begin());
   597 	return *this;
   597 	return *this;
   598       }
   598       }
   599       
   599       
   600       void update() {}    //Useless for DynMaps
   600       void update() {}    //Useless for DynMaps
   601       void update(T a) {}  //Useless for DynMaps
   601       void update(T a) {}  //Useless for DynMaps