equal
deleted
inserted
replaced
157 typedef DefaultMap<_Graph, _Item, _Value> Map; |
157 typedef DefaultMap<_Graph, _Item, _Value> Map; |
158 |
158 |
159 typedef typename Parent::Graph Graph; |
159 typedef typename Parent::Graph Graph; |
160 typedef typename Parent::Value Value; |
160 typedef typename Parent::Value Value; |
161 |
161 |
162 DefaultMap(const Graph& graph) : Parent(graph) {} |
162 explicit DefaultMap(const Graph& graph) : Parent(graph) {} |
163 DefaultMap(const Graph& graph, const Value& value) |
163 DefaultMap(const Graph& graph, const Value& value) |
164 : Parent(graph, value) {} |
164 : Parent(graph, value) {} |
165 |
165 |
166 DefaultMap& operator=(const DefaultMap& cmap) { |
166 DefaultMap& operator=(const DefaultMap& cmap) { |
167 return operator=<DefaultMap>(cmap); |
167 return operator=<DefaultMap>(cmap); |