Boost logo

Boost Users :

From: Tim Blechmann (tim_at_[hidden])
Date: 2008-06-23 07:50:50


hi all,

the following trivial code doesn't compile for me:

#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/depth_first_search.hpp>

typedef boost::adjacency_list<boost::vecS,
                              boost::listS
> graph_t;
int main()
{
    graph_t graph;
    boost::depth_first_search(graph, boost::visitor(boost::dfs_visitor<> ()));
}

is there any way to run a depth_first_search, with an adjacency_list
based graph class, using a VertexList=listS or setS?

thanks, tim

-- 
tim_at_[hidden]
http://tim.klingt.org
Avoid the world, it's just a lot of dust and drag and means nothing in
the end.
  Jack Kerouac

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net