- bool end() const { return cur == last; }
- Move move() const { return cur->move; }
- int size() const { return int(last - mlist); }
+ Move operator*() const { return cur->move; }
+ size_t size() const { return last - mlist; }
+ bool contains(Move m) const {
+ for (const ExtMove* it(mlist); it != last; ++it) if (it->move == m) return true;
+ return false;
+ }