看板 EE_DSnP 關於我們 聯絡資訊
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
timrau:改成pop_front();和pop_back();試試 05/20 00:45
allen0414:喔喔喔喔我發現了 我太智障了 05/20 00:47
allen0414:我一直在想別的地方 05/20 00:47
allen0414:謝謝! 05/20 00:47