2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-31 20:22:09 +00:00

concept checking changes, and usage of concept changes

[SVN r8305]
This commit is contained in:
Jeremy Siek
2000-11-22 19:17:36 +00:00
parent f7f4e4ca0c
commit 644a810441
11 changed files with 109 additions and 65 deletions

View File

@@ -110,15 +110,15 @@ main()
{
typedef boost::adjacency_list<> IteratorConstructibleGraph;
typedef boost::graph_traits<IteratorConstructibleGraph> Traits;
Traits::vertices_size_type V;
Traits::edges_size_type E;
Traits::vertices_size_type size_V;
Traits::edges_size_type size_E;
std::ifstream f("edge_iterator_constructor.dat");
f >> V >> E;
f >> size_V >> size_E;
edge_stream_iterator edge_iter(f), end;
IteratorConstructibleGraph G(V, edge_iter, end);
IteratorConstructibleGraph G(size_V, edge_iter, end);
boost::print_graph(G);
return 0;