• Home
  • Raw
  • Download

Lines Matching refs:__first

501         vector(_InputIterator __first,
509 vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
516 vector(_ForwardIterator __first,
523 vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
576 assign(_InputIterator __first, _InputIterator __last);
586 assign(_ForwardIterator __first, _ForwardIterator __last);
711 insert(const_iterator __position, _InputIterator __first, _InputIterator __last);
721 insert(const_iterator __position, _ForwardIterator __first, _ForwardIterator __last);
729 iterator erase(const_iterator __first, const_iterator __last);
777 __construct_at_end(_ForwardIterator __first, _ForwardIterator __last, size_type __n);
1014 vector<_Tp, _Allocator>::__construct_at_end(_ForwardIterator __first, _ForwardIterator __last, size…
1018 __alloc_traits::__construct_range_forward(__a, __first, __last, this->__end_);
1118 vector<_Tp, _Allocator>::vector(_InputIterator __first,
1129 for (; __first != __last; ++__first)
1130 push_back(*__first);
1135 vector<_Tp, _Allocator>::vector(_InputIterator __first, _InputIterator __last, const allocator_type…
1146 for (; __first != __last; ++__first)
1147 push_back(*__first);
1152 vector<_Tp, _Allocator>::vector(_ForwardIterator __first,
1162 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
1166 __construct_at_end(__first, __last, __n);
1172 vector<_Tp, _Allocator>::vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_…
1182 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
1186 __construct_at_end(__first, __last, __n);
1367 vector<_Tp, _Allocator>::assign(_InputIterator __first, _InputIterator __last)
1370 for (; __first != __last; ++__first)
1371 push_back(*__first);
1384 vector<_Tp, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
1386 size_type __new_size = static_cast<size_type>(_VSTD::distance(__first, __last));
1394 __mid = __first;
1397 pointer __m = _VSTD::copy(__first, __mid, this->__begin_);
1407 __construct_at_end(__first, __last, __new_size);
1689 vector<_Tp, _Allocator>::erase(const_iterator __first, const_iterator __last)
1692 _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__first) == this,
1699 _LIBCPP_ASSERT(__first <= __last, "vector::erase(first, last) called with invalid range");
1700 pointer __p = this->__begin_ + (__first - begin());
1701 if (__first != __last) {
1702 this->__destruct_at_end(_VSTD::move(__p + (__last - __first), this->__end_, __p));
1899 vector<_Tp, _Allocator>::insert(const_iterator __position, _InputIterator __first, _InputIterator _…
1910 for (; this->__end_ != this->__end_cap() && __first != __last; ++__first)
1914 *__first);
1919 if (__first != __last)
1925 __v.__construct_at_end(__first, __last);
1956 vector<_Tp, _Allocator>::insert(const_iterator __position, _ForwardIterator __first, _ForwardIterat…
1964 difference_type __n = _VSTD::distance(__first, __last);
1975 __m = __first;
1986 _VSTD::copy(__first, __m, __p);
1993 __v.__construct_at_end(__first, __last);
2217 vector(_InputIterator __first, _InputIterator __last,
2221 vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
2225 vector(_ForwardIterator __first, _ForwardIterator __last,
2228 vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
2265 assign(_InputIterator __first, _InputIterator __last);
2272 assign(_ForwardIterator __first, _ForwardIterator __last);
2380 insert(const_iterator __position, _InputIterator __first, _InputIterator __last);
2387 insert(const_iterator __position, _ForwardIterator __first, _ForwardIterator __last);
2395 iterator erase(const_iterator __first, const_iterator __last);
2429 __construct_at_end(_ForwardIterator __first, _ForwardIterator __last);
2581 vector<bool, _Allocator>::__construct_at_end(_ForwardIterator __first, _ForwardIterator __last)
2584 this->__size_ += _VSTD::distance(__first, __last);
2585 _VSTD::copy(__first, __last, __make_iter(__old_size));
2668 vector<bool, _Allocator>::vector(_InputIterator __first, _InputIterator __last,
2679 for (; __first != __last; ++__first)
2680 push_back(*__first);
2695 vector<bool, _Allocator>::vector(_InputIterator __first, _InputIterator __last, const allocator_typ…
2706 for (; __first != __last; ++__first)
2707 push_back(*__first);
2722 vector<bool, _Allocator>::vector(_ForwardIterator __first, _ForwardIterator __last,
2728 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
2732 __construct_at_end(__first, __last);
2738 vector<bool, _Allocator>::vector(_ForwardIterator __first, _ForwardIterator __last, const allocator…
2744 size_type __n = static_cast<size_type>(_VSTD::distance(__first, __last));
2748 __construct_at_end(__first, __last);
2946 vector<bool, _Allocator>::assign(_InputIterator __first, _InputIterator __last)
2949 for (; __first != __last; ++__first)
2950 push_back(*__first);
2960 vector<bool, _Allocator>::assign(_ForwardIterator __first, _ForwardIterator __last)
2963 difference_type __ns = _VSTD::distance(__first, __last);
2973 __construct_at_end(__first, __last);
3098 vector<bool, _Allocator>::insert(const_iterator __position, _InputIterator __first, _InputIterator …
3103 for (; size() != capacity() && __first != __last; ++__first)
3106 back() = *__first;
3109 if (__first != __last)
3115 __v.assign(__first, __last);
3142 vector<bool, _Allocator>::insert(const_iterator __position, _ForwardIterator __first, _ForwardItera…
3144 const difference_type __n_signed = _VSTD::distance(__first, __last);
3165 _VSTD::copy(__first, __last, __r);
3182 vector<bool, _Allocator>::erase(const_iterator __first, const_iterator __last)
3184 iterator __r = __const_iterator_cast(__first);
3185 difference_type __d = __last - __first;