作者allen0414 (我是阿檻耶XD)
看板EE_DSnP
標題[問題] 看不懂error
時間Tue May 20 00:38:35 2008
adtTest.h:98: instantiated from here
../../include/array.h:101: error: statement cannot resolve address of
overloaded function
adtTest.h:98: instantiated from here
../../include/array.h:102: error: statement cannot resolve address of
overloaded function
出現 statement cannot resolve address of overloaded function 這樣的error
101跟102行分別為下面這樣
else if(pos == begin()){pop_front; return true;}
else if(pos == end()){pop_back; return true;}
這樣的語法是有寫錯嗎??
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.49.246
1F:推 timrau:改成pop_front();和pop_back();試試 05/20 00:45
2F:→ allen0414:喔喔喔喔我發現了 我太智障了 05/20 00:47
3F:→ allen0414:我一直在想別的地方 05/20 00:47
4F:→ allen0414:謝謝! 05/20 00:47