Lines Matching refs:__last
527 _InputIterator>::type __last);
529 vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
541 _ForwardIterator>::type __last);
543 vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
600 assign(_InputIterator __first, _InputIterator __last);
610 assign(_ForwardIterator __first, _ForwardIterator __last);
748 insert(const_iterator __position, _InputIterator __first, _InputIterator __last);
758 insert(const_iterator __position, _ForwardIterator __first, _ForwardIterator __last);
767 iterator erase(const_iterator __first, const_iterator __last);
815 __construct_at_end(_ForwardIterator __first, _ForwardIterator __last, size_type __n);
1066 vector<_Tp, _Allocator>::__construct_at_end(_ForwardIterator __first, _ForwardIterator __last, size…
1070 __alloc_traits::__construct_range_forward(__a, __first, __last, this->__end_);
1176 _InputIterator>::type __last)
1181 for (; __first != __last; ++__first)
1187 vector<_Tp, _Allocator>::vector(_InputIterator __first, _InputIterator __last, const allocator_type…
1198 for (; __first != __last; ++__first)
1209 _ForwardIterator>::type __last)
1214 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
1218 __construct_at_end(__first, __last, __n);
1224 vector<_Tp, _Allocator>::vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_…
1234 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
1238 __construct_at_end(__first, __last, __n);
1415 vector<_Tp, _Allocator>::assign(_InputIterator __first, _InputIterator __last)
1418 for (; __first != __last; ++__first)
1432 vector<_Tp, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
1434 size_type __new_size = static_cast<size_type>(_VSTD::distance(__first, __last));
1437 _ForwardIterator __mid = __last;
1447 __construct_at_end(__mid, __last, __new_size - size());
1455 __construct_at_end(__first, __last, __new_size);
1734 vector<_Tp, _Allocator>::erase(const_iterator __first, const_iterator __last)
1740 _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__last) == this,
1744 _LIBCPP_ASSERT(__first <= __last, "vector::erase(first, last) called with invalid range");
1746 if (__first != __last) {
1747 this->__destruct_at_end(_VSTD::move(__p + (__last - __first), this->__end_, __p));
1941 …<_Tp, _Allocator>::insert(const_iterator __position, _InputIterator __first, _InputIterator __last)
1952 for (; this->__end_ != this->__end_cap() && __first != __last; ++__first)
1961 if (__first != __last)
1967 __v.__construct_at_end(__first, __last);
1998 …, _Allocator>::insert(const_iterator __position, _ForwardIterator __first, _ForwardIterator __last)
2006 difference_type __n = _VSTD::distance(__first, __last);
2013 _ForwardIterator __m = __last;
2020 __construct_at_end(__m, __last, __n - __diff);
2035 __v.__construct_at_end(__first, __last);
2259 vector(_InputIterator __first, _InputIterator __last,
2263 vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
2267 vector(_ForwardIterator __first, _ForwardIterator __last,
2270 vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
2306 assign(_InputIterator __first, _InputIterator __last);
2313 assign(_ForwardIterator __first, _ForwardIterator __last);
2422 insert(const_iterator __position, _InputIterator __first, _InputIterator __last);
2429 insert(const_iterator __position, _ForwardIterator __first, _ForwardIterator __last);
2438 iterator erase(const_iterator __first, const_iterator __last);
2472 __construct_at_end(_ForwardIterator __first, _ForwardIterator __last);
2631 vector<bool, _Allocator>::__construct_at_end(_ForwardIterator __first, _ForwardIterator __last)
2634 this->__size_ += _VSTD::distance(__first, __last);
2642 _VSTD::copy(__first, __last, __make_iter(__old_size));
2725 vector<bool, _Allocator>::vector(_InputIterator __first, _InputIterator __last,
2736 for (; __first != __last; ++__first)
2752 vector<bool, _Allocator>::vector(_InputIterator __first, _InputIterator __last, const allocator_typ…
2763 for (; __first != __last; ++__first)
2779 vector<bool, _Allocator>::vector(_ForwardIterator __first, _ForwardIterator __last,
2785 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
2789 __construct_at_end(__first, __last);
2795 vector<bool, _Allocator>::vector(_ForwardIterator __first, _ForwardIterator __last, const allocator…
2801 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
2805 __construct_at_end(__first, __last);
3001 vector<bool, _Allocator>::assign(_InputIterator __first, _InputIterator __last)
3004 for (; __first != __last; ++__first)
3015 vector<bool, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
3018 difference_type __ns = _VSTD::distance(__first, __last);
3028 __construct_at_end(__first, __last);
3153 …bool, _Allocator>::insert(const_iterator __position, _InputIterator __first, _InputIterator __last)
3158 for (; size() != capacity() && __first != __last; ++__first)
3164 if (__first != __last)
3170 __v.assign(__first, __last);
3197 …, _Allocator>::insert(const_iterator __position, _ForwardIterator __first, _ForwardIterator __last)
3199 const difference_type __n_signed = _VSTD::distance(__first, __last);
3220 _VSTD::copy(__first, __last, __r);
3237 vector<bool, _Allocator>::erase(const_iterator __first, const_iterator __last)
3240 difference_type __d = __last - __first;
3241 _VSTD::copy(__last, this->cend(), __r);