| 174 | |
| 175 | public: |
| 176 | void assign(size_type n, const T& val) { |
| 177 | clear(); |
| 178 | if (capacity() < n) { |
| 179 | change_capacity(n); |
| 180 | } |
| 181 | _size += n; |
| 182 | fill(item_ptr(0), n, val); |
| 183 | } |
| 184 | |
| 185 | template <std::input_iterator InputIterator> |
| 186 | void assign(InputIterator first, InputIterator last) { |
no test coverage detected