When using a std::vector for the TimeMap parameter of stamp_times I
saw errors along the lines of
"error: no matching function for call to ‘put(........."
I changed the TimeMap parameter to a raw array, and now this compiles for me:
http://codepad.org/9KZp2FP2
not sure exactly why... (the vertex descriptor type is 'long unsigned
int', which maybe isn't the key-type for a std::vector<Size> ?)
Anders
On Thu, Jun 9, 2011 at 2:59 AM, David Doria
I figured out how to make a custom visitor for a BFS search: http://programmingexamples.net/index.php?title=CPP/Boost/BGL/BreadthFirstSea...
but now I am trying to figure out what make_bfs_visitor does, and use it, potentially in conjunction with boost::time_stamper http://programmingexamples.net/index.php?title=CPP/Boost/BGL/MakeBFSVisitor
Would anyone mind taking a look there to see where I am going wrong. You can see I tried a lot of things that didn't work :)
Thanks,
David _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users