Changeset 1672:85e30ec7c957 in lemon-0.x
- Timestamp:
- 09/01/05 14:14:14 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2188
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/default_map.h
r1669 r1672 171 171 NodeMap(const Graph& _g, const _Value& _v) 172 172 : Parent(_g, _v) {} 173 174 NodeMap& operator=(const NodeMap& cmap) { 175 return operator=<NodeMap>(cmap); 176 } 177 173 178 174 179 /// \brief Template assign operator. … … 203 208 : Parent(_g, _v) {} 204 209 210 EdgeMap& operator=(const EdgeMap& cmap) { 211 return operator=<EdgeMap>(cmap); 212 } 213 205 214 template <typename CMap> 206 215 EdgeMap& operator=(const CMap& cmap) { … … 241 250 : Parent(_g, _v) {} 242 251 252 UndirEdgeMap& operator=(const UndirEdgeMap& cmap) { 253 return operator=<UndirEdgeMap>(cmap); 254 } 255 243 256 template <typename CMap> 244 257 UndirEdgeMap& operator=(const CMap& cmap) {
Note: See TracChangeset
for help on using the changeset viewer.