2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-30 20:02:12 +00:00

added constructor requirement to MutableGraph

[SVN r8802]
This commit is contained in:
Jeremy Siek
2001-01-28 02:25:44 +00:00
parent 9a2f59e810
commit f0a69e09fc

View File

@@ -208,6 +208,7 @@ namespace boost {
{
typedef typename graph_traits<G>::edge_descriptor edge_descriptor;
void constraints() {
G g(n_vertices);
v = add_vertex(g);
clear_vertex(v, g);
remove_vertex(v, g);
@@ -220,6 +221,7 @@ namespace boost {
std::pair<edge_descriptor, bool> p;
typename graph_traits<G>::vertex_descriptor u, v;
typename graph_traits<G>::out_edge_iterator iter;
typename graph_traits<G>::vertices_size_type n_vertices;
};
template <class edge_descriptor>