equal
deleted
inserted
replaced
24 |
24 |
25 #include <lemon/bits/map_extender.h> |
25 #include <lemon/bits/map_extender.h> |
26 #include <lemon/bits/default_map.h> |
26 #include <lemon/bits/default_map.h> |
27 |
27 |
28 #include <lemon/concept_check.h> |
28 #include <lemon/concept_check.h> |
29 #include <lemon/concept/maps.h> |
29 #include <lemon/concepts/maps.h> |
30 |
30 |
31 ///\ingroup graphbits |
31 ///\ingroup graphbits |
32 ///\file |
32 ///\file |
33 ///\brief Extenders for the graph types |
33 ///\brief Extenders for the graph types |
34 namespace lemon { |
34 namespace lemon { |
1126 return operator=<NodeMap>(cmap); |
1126 return operator=<NodeMap>(cmap); |
1127 } |
1127 } |
1128 |
1128 |
1129 template <typename CMap> |
1129 template <typename CMap> |
1130 NodeMap& operator=(const CMap& cmap) { |
1130 NodeMap& operator=(const CMap& cmap) { |
1131 checkConcept<concept::ReadMap<Node, _Value>, CMap>(); |
1131 checkConcept<concepts::ReadMap<Node, _Value>, CMap>(); |
1132 aNodeMap = cmap; |
1132 aNodeMap = cmap; |
1133 bNodeMap = cmap; |
1133 bNodeMap = cmap; |
1134 return *this; |
1134 return *this; |
1135 } |
1135 } |
1136 |
1136 |