Lines Matching refs:size_type
24 typedef std::size_t size_type;
32 BufferWrapper(pointer buffer, size_type capacity, size_type size)
37 BufferWrapper(pointer buffer, size_type size)
79 size_type size() const { return end_; }
80 size_type max_size() const { return capacity_; }
81 size_type capacity() const { return capacity_; }
83 void resize(size_type size) {
90 reference operator[](size_type pos) { return buffer_[pos]; }
91 const_reference operator[](size_type pos) const { return buffer_[pos]; }
95 size_type capacity_;
96 size_type end_;
104 using size_type = typename BufferType::size_type;
132 size_type size() const { return buffer_.size(); }
133 size_type max_size() const { return buffer_.capacity(); }
134 size_type capacity() const { return buffer_.capacity(); }
136 void resize(size_type size) { buffer_.resize(size); }
137 void reserve(size_type size) { buffer_.reserve(size); }
139 reference operator[](size_type pos) { return buffer_[pos]; }
140 const_reference operator[](size_type pos) const { return buffer_[pos]; }