Example #1
0
    Value next() {
      if (parms_.endf(i_))
	return parms_.end_state();
      Value temp = parms_.deref(i_);
      ++i_;
      return temp;
    }
Example #2
0
 bool at_end() const {
   return parms_.endf(i_);
 }