2006-09-18から1日間の記事一覧
// pred(*beg1, *beg2)が真である間だけbeg1をインクリメントする template <class Iter1T, class Iter2T, class BinPredT> inline void advance_while(Iter1T& beg1, Iter1T end1, /* ここに悩む */, BinPredT pred){ // hogehoge }のような関数を今日実装したけどインターフェースにかなり悩んだ。 次の</class>…