Lines Matching refs:__first

521         vector(_InputIterator __first,
529 vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
536 vector(_ForwardIterator __first,
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_);
1170 vector<_Tp, _Allocator>::vector(_InputIterator __first,
1181 for (; __first != __last; ++__first)
1182 __emplace_back(*__first);
1187 vector<_Tp, _Allocator>::vector(_InputIterator __first, _InputIterator __last, const allocator_type…
1198 for (; __first != __last; ++__first)
1199 __emplace_back(*__first);
1204 vector<_Tp, _Allocator>::vector(_ForwardIterator __first,
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)
1419 __emplace_back(*__first);
1432 vector<_Tp, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
1434 size_type __new_size = static_cast<size_type>(_VSTD::distance(__first, __last));
1442 __mid = __first;
1445 pointer __m = _VSTD::copy(__first, __mid, this->__begin_);
1455 __construct_at_end(__first, __last, __new_size);
1734 vector<_Tp, _Allocator>::erase(const_iterator __first, const_iterator __last)
1737 _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__first) == this,
1744 _LIBCPP_ASSERT(__first <= __last, "vector::erase(first, last) called with invalid range");
1745 pointer __p = this->__begin_ + (__first - begin());
1746 if (__first != __last) {
1747 this->__destruct_at_end(_VSTD::move(__p + (__last - __first), this->__end_, __p));
1941 vector<_Tp, _Allocator>::insert(const_iterator __position, _InputIterator __first, _InputIterator _…
1952 for (; this->__end_ != this->__end_cap() && __first != __last; ++__first)
1956 *__first);
1961 if (__first != __last)
1967 __v.__construct_at_end(__first, __last);
1998 vector<_Tp, _Allocator>::insert(const_iterator __position, _ForwardIterator __first, _ForwardIterat…
2006 difference_type __n = _VSTD::distance(__first, __last);
2017 __m = __first;
2028 _VSTD::copy(__first, __m, __p);
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)
2737 push_back(*__first);
2752 vector<bool, _Allocator>::vector(_InputIterator __first, _InputIterator __last, const allocator_typ…
2763 for (; __first != __last; ++__first)
2764 push_back(*__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)
3005 push_back(*__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 vector<bool, _Allocator>::insert(const_iterator __position, _InputIterator __first, _InputIterator …
3158 for (; size() != capacity() && __first != __last; ++__first)
3161 back() = *__first;
3164 if (__first != __last)
3170 __v.assign(__first, __last);
3197 vector<bool, _Allocator>::insert(const_iterator __position, _ForwardIterator __first, _ForwardItera…
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)
3239 iterator __r = __const_iterator_cast(__first);
3240 difference_type __d = __last - __first;