Lines Matching full:index_
21 const_iterator() : index_(0), elements_(NULL) {}
24 : index_(index), elements_(elements) {}
27 return elements_ == rhs.elements_ && index_ == rhs.index_;
31 return elements_ != rhs.elements_ || index_ != rhs.index_;
34 operator const T*() const { return elements_ + index_; }
36 const T* operator->() const { return elements_ + index_; }
38 const T& operator*() const { return elements_[index_]; }
41 index_ = (index_ + 1) % (MAX_SIZE + 1);
46 index_ = (index_ + MAX_SIZE) % (MAX_SIZE + 1);
51 size_t index_;