Lines Matching refs:elements_
21 const_iterator() : index_(0), elements_(NULL) {} in const_iterator()
24 : index_(index), elements_(elements) {} in const_iterator()
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_]; }
52 const T* elements_; variable
61 const_iterator begin() const { return const_iterator(begin_, elements_); } in begin()
62 const_iterator end() const { return const_iterator(end_, elements_); } in end()
65 elements_[end_] = element; in push_back()
72 elements_[begin_] = element; in push_front()
81 T elements_[MAX_SIZE + 1];