精華區beta EE_DSnP 關於我們 聯絡資訊
※ 引述《ric2k1 (Ric)》之銘言: : ※ 引述《timmylin (Noname)》之銘言: : : 如果是Array的End的話,return _data + _size會部會 : : 會比return 0好阿...,,總不能在iterator++那邊判斷 : : 是否到end而不做node + 1而設node = 0阿 : You are right!! It's better to return as --- : iterator end() { return (_data + _size); } : I will update the source code immediately. 順便提醒一下 這個部份忘記 update 了 ^^ -- . * . . .點點星空照上風~ . * . · -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.251.56
ric2k1:哎呀 忘了 upload... done. 謝謝提醒 :) 12/07 02:51