• Home
  • Raw
  • Download

Lines Matching refs:iterator_traits

21 struct iterator_traits
31 struct iterator_traits<T*>
61 typename iterator_traits<InputIterator>::difference_type n);
64 constexpr typename iterator_traits<InputIterator>::difference_type
69 typename iterator_traits<InputIterator>::difference_type n = 1);
73 typename iterator_traits<BidirectionalIterator>::difference_type n = 1);
77 : public iterator<typename iterator_traits<Iterator>::iterator_category,
78 typename iterator_traits<Iterator>::value_type,
79 typename iterator_traits<Iterator>::difference_type,
80 typename iterator_traits<Iterator>::pointer,
81 typename iterator_traits<Iterator>::reference>
87 typedef typename iterator_traits<Iterator>::difference_type difference_type;
88 typedef typename iterator_traits<Iterator>::reference reference;
89 typedef typename iterator_traits<Iterator>::pointer pointer;
215 typedef typename iterator_traits<Iterator>::difference_type difference_type;
217 typedef typename iterator_traits<Iterator>::value_type value_type;
218 typedef typename iterator_traits<Iterator>::iterator_category iterator_category;
492 // iterator_traits<Iterator> will only have the nested types if Iterator::iterator_category
493 // exists. Else iterator_traits<Iterator> will be an empty class. This is a
498 struct _LIBCPP_TEMPLATE_VIS iterator_traits
502 struct _LIBCPP_TEMPLATE_VIS iterator_traits<_Tp*>
511 template <class _Tp, class _Up, bool = __has_iterator_category<iterator_traits<_Tp> >::value>
513 …: public integral_constant<bool, is_convertible<typename iterator_traits<_Tp>::iterator_category, …
551 typename iterator_traits<_InputIter>::difference_type __n, input_iterator_tag)
560 typename iterator_traits<_BiDirIter>::difference_type __n, bidirectional_iterator_tag)
573 typename iterator_traits<_RandIter>::difference_type __n, random_access_iterator_tag)
581 typename iterator_traits<_InputIter>::difference_type __n)
583 __advance(__i, __n, typename iterator_traits<_InputIter>::iterator_category());
588 typename iterator_traits<_InputIter>::difference_type
591 typename iterator_traits<_InputIter>::difference_type __r(0);
599 typename iterator_traits<_RandIter>::difference_type
607 typename iterator_traits<_InputIter>::difference_type
610 return __distance(__first, __last, typename iterator_traits<_InputIter>::iterator_category());
621 typename iterator_traits<_InputIter>::difference_type __n = 1)
635 typename iterator_traits<_BidirectionalIter>::difference_type __n = 1)
651 : public iterator<typename iterator_traits<_Iter>::iterator_category,
652 typename iterator_traits<_Iter>::value_type,
653 typename iterator_traits<_Iter>::difference_type,
654 typename iterator_traits<_Iter>::pointer,
655 typename iterator_traits<_Iter>::reference>
668 typedef typename iterator_traits<_Iter>::difference_type difference_type;
669 typedef typename iterator_traits<_Iter>::reference reference;
670 typedef typename iterator_traits<_Iter>::pointer pointer;
1103 typedef typename iterator_traits<iterator_type>::iterator_category iterator_category;
1104 typedef typename iterator_traits<iterator_type>::value_type value_type;
1105 typedef typename iterator_traits<iterator_type>::difference_type difference_type;
1108 typedef typename iterator_traits<iterator_type>::reference __reference;
1115 typedef typename iterator_traits<iterator_type>::reference reference;
1319 typedef typename iterator_traits<iterator_type>::iterator_category iterator_category;
1320 typedef typename iterator_traits<iterator_type>::value_type value_type;
1321 typedef typename iterator_traits<iterator_type>::difference_type difference_type;
1322 typedef typename iterator_traits<iterator_type>::pointer pointer;
1323 typedef typename iterator_traits<iterator_type>::reference reference;