9
4

1 回答 1

10

The comparison class should be the 3rd parameter of the std::priority_queue template, the second being a container (like std::vector<typename Graph::graph<U>::vertex>) which will have a value_type member.

于 2012-04-08T18:42:25.903 回答