changeset 576 | d00c33d07114 |
parent 378 | c3f93631cd24 |
child 595 | e10b5e9419ef |
0:e8cd4d2627df | 1:5298948501d1 |
---|---|
5 using namespace hugo; |
5 using namespace hugo; |
6 |
6 |
7 |
7 |
8 int main() { |
8 int main() { |
9 ListGraph g; |
9 ListGraph g; |
10 ListGraph::NodeMap<int> map(g); |
10 ListGraph::NodeMapFactory::VectorMap<int> map(g, g.node_maps); |
11 ListGraph::Node node = g.addNode(); |
11 ListGraph::Node node = g.addNode(); |
12 map[node] = 12; |
12 map[node] = 12; |
13 return 0; |
13 return 0; |
14 } |
14 } |
15 |
15 |