看板 EE_DSnP 關於我們 聯絡資訊
我在printhelp裡用到CmdMap::iterator 但是operator=卻不能用,compile說no match, 但是我在其他的function也有用到CmdMap::iterator以及operator=, 為什麼只有printhelp裡不會過? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.244.47
ric2k1:可以將 error message post 上來嗎? 04/11 23:47
riteden:好像是因為printhelp是constent function 04/12 01:08
riteden:所以不能用iterator=_cmdMap 04/12 01:08
ric2k1:嗯嗯 04/12 01:15
keyboardle:應該可以轉用const_iterator..這個問題我也曾經碰過 04/12 17:40
tiffiej:i have the same problem >"< 04/12 17:49
firstquarter:可看本板1071篇 04/12 18:28
shingifred:有看有推~ 04/12 22:12
tiffiej:thanks! 04/12 22:46