mikael-s-persson/ReaK — Issue #2: vertices() should not have boost:: prefix
Author: daviddoria
Created: 2012-01-25 21:23:24+00:00
State: open

At line 264 in ctrl/path_planning/topological_search.hpp, there is this line:

VertexIter ui,ui_end; tie(ui,ui_end) = boost::vertices(g);

When I call it with a graph of type grid_graph<2>, it says there is no function vertices(grid_graph)

However, if I change it to

VertexIter ui,ui_end; tie(ui,ui_end) = vertices(g);

it works correctly. I believe this is how you're supposed to do it (it definitely works with normal BGL graph's too), because one of the lead BGL guys reviewed some examples I wrote and told me this:

https://github.com/daviddoria/ProgrammingExamplesWiki/issues/1