| 363 | typename std::iterator_traits<in_iter>::iterator_category, |
| 364 | std::input_iterator_tag>::value>::type> |
| 365 | void append(in_iter in_start, in_iter in_end) { |
| 366 | size_type num_inputs = std::distance(in_start, in_end); |
| 367 | // Grow allocated space if needed. |
| 368 | if (num_inputs > size_type(this->capacity_ptr() - this->end())) |
| 369 | this->grow(this->size() + num_inputs); |
| 370 | |
| 371 | // Copy the new elements over. |
| 372 | this->uninitialized_copy(in_start, in_end, this->end()); |
| 373 | this->set_end(this->end() + num_inputs); |
| 374 | } |
| 375 | |
| 376 | /// Add the specified range to the end of the SmallVector. |
| 377 | void append(size_type num_inputs, const T& _elm) { |
no test coverage detected