#include #include #include #include #include #include int main() { typedef boost::adjacency_list<> G; typedef boost::graph_traits::vertex_descriptor V; G g; std::vector topology; boost::add_vertex(g); boost::topological_sort(g, std::back_inserter(topology)); boost::assign::list_of(0); return 0; }