在vs中為啥map用仿函式就報錯,檔案xuitility非法運算式
uj5u.com熱心網友回復:
trybool operator()const (int a,int b)
uj5u.com熱心網友回復:
bool operator() (int a,int b)const
uj5u.com熱心網友回復:
需要加const
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/227422.html
標籤:C++ 語言
上一篇:c++編譯問題
下一篇:大佬幫下忙
