Changeset 2046:66d160810c0a in lemon-0.x
- Timestamp:
- 04/13/06 19:57:03 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2688
- Location:
- lemon/bits
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/array_map.h
r2031 r2046 79 79 /// 80 80 /// Graph initialized map constructor. 81 ArrayMap(const Graph& graph) {81 explicit ArrayMap(const Graph& graph) { 82 82 Parent::attach(graph.getNotifier(Item())); 83 83 allocate_memory(); -
lemon/bits/default_map.h
r2031 r2046 160 160 typedef typename Parent::Value Value; 161 161 162 DefaultMap(const Graph& graph) : Parent(graph) {}162 explicit DefaultMap(const Graph& graph) : Parent(graph) {} 163 163 DefaultMap(const Graph& graph, const Value& value) 164 164 : Parent(graph, value) {} -
lemon/bits/edge_set_extender.h
r2031 r2046 225 225 typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent; 226 226 227 EdgeMap(const Graph& _g)227 explicit EdgeMap(const Graph& _g) 228 228 : Parent(_g) {} 229 229 EdgeMap(const Graph& _g, const _Value& _v) -
lemon/bits/graph_extender.h
r2031 r2046 224 224 typedef MapExtender<DefaultMap<Graph, Node, _Value> > Parent; 225 225 226 NodeMap(const Graph& graph)226 explicit NodeMap(const Graph& graph) 227 227 : Parent(graph) {} 228 228 NodeMap(const Graph& graph, const _Value& value) … … 248 248 typedef MapExtender<DefaultMap<Graph, Edge, _Value> > Parent; 249 249 250 EdgeMap(const Graph& graph)250 explicit EdgeMap(const Graph& graph) 251 251 : Parent(graph) {} 252 252 EdgeMap(const Graph& graph, const _Value& value)
Note: See TracChangeset
for help on using the changeset viewer.