id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6371,[graph] compile error directed_graph/undirected_graph,Akira Takahashi ,Jeremiah Willcock,"follow code is compile error: {{{ #include #include using namespace boost; int main() { directed_graph<> dg(5); graph_traits >::vertex_descriptor dv = vertex(3, dg); // error! undirected_graph<> ug(5); graph_traits >::vertex_descriptor uv = vertex(3, ug); // error! return 0; } }}} patch is here: {{{ --- directed_graph.hpp +++ directed_graph.hpp (bug fixed) @@ -410,7 +410,7 @@ typename DIRECTED_GRAPH::vertex_descriptor vertex(typename DIRECTED_GRAPH::vertices_size_type n, DIRECTED_GRAPH const& g) -{ return vertex(g.impl()); } +{ return vertex(n, g.impl()); } }}} {{{ --- undirected_graph.hpp +++ undirected_graph.hpp (bug fixed) @@ -413,7 +413,7 @@ typename UNDIRECTED_GRAPH::vertex_descriptor vertex(typename UNDIRECTED_GRAPH::vertices_size_type n, UNDIRECTED_GRAPH const& g) -{ return vertex(g.impl()); } +{ return vertex(n, g.impl()); } }}}",Bugs,closed,To Be Determined,graph,Boost 1.48.0,Problem,fixed,,