我使用GCC 4.5.0提高1.48.0在Linux機器上。boost :: transitive_closure()and「error:no matching function for call to'vertices(const std :: vector <std :: vector <long unsigned int> ...」
在編譯時使用了boost :: transitive_closure()函數的boost ::圖,我遇到了相同的問題http://boost.2283326.n4.nabble.com/Problem-in-using-Transitive-closure-on-Linux-td2573042.html源文件。 但在我的情況,包括升壓/圖/ vector_as_graph.hpp之前的任何其他升壓頭文件不改變這種狀況。
有人遇到過這一點,並知道如何避開它?.