2
C++ requires a type specifier for all declarations
...char, 16>>, MAXPreBorder> _preCloselist)
我的代碼是:的std :: TR1 ::陣列編譯錯誤
std::tr1::unordered_set<std::tr1::array<unsigned char, 16> >
dfs(Graphnode _root,
std::tr1::array<unsigned char, 16> goal,
unsigned char _totalDepth,
queue<Graphnode> _preload1,
queue<Graphnode> _preload2,
std::tr1::array<
std::tr1::unordered_set<std::tr1::array<unsigned char, 16>>,
MAXPreBorder> _preCloselist
)
所以這個問題是這樣的:
std::tr1::array<
std::tr1::unordered_set<std::tr1::array<unsigned char, 16>>,
MAXPreBorder> _preCloselist
任何想法是錯誤的?
非常感謝!
非常感謝!!!我永遠無法弄清楚自己......謝謝!我正在使用mpicc,它已經通過您的建議解決了! – weeo