Lines Matching refs:iterator_traits
21 struct iterator_traits
31 struct iterator_traits<T*>
41 struct iterator_traits<const T*>
70 typename iterator_traits<InputIterator>::difference_type n);
73 typename iterator_traits<InputIterator>::difference_type
78 : public iterator<typename iterator_traits<Iterator>::iterator_category,
79 typename iterator_traits<Iterator>::value_type,
80 typename iterator_traits<Iterator>::difference_type,
81 typename iterator_traits<Iterator>::pointer,
82 typename iterator_traits<Iterator>::reference>
88 typedef typename iterator_traits<Iterator>::difference_type difference_type;
89 typedef typename iterator_traits<Iterator>::reference reference;
90 typedef typename iterator_traits<Iterator>::pointer pointer;
401 // iterator_traits<Iterator> will only have the nested types if Iterator::iterator_category
402 // exists. Else iterator_traits<Iterator> will be an empty class. This is a
407 struct _LIBCPP_TYPE_VIS_ONLY iterator_traits
411 struct _LIBCPP_TYPE_VIS_ONLY iterator_traits<_Tp*>
420 template <class _Tp, class _Up, bool = __has_iterator_category<iterator_traits<_Tp> >::value>
422 …: public integral_constant<bool, is_convertible<typename iterator_traits<_Tp>::iterator_category, …
454 typename iterator_traits<_InputIter>::difference_type __n, input_iterator_tag)
463 typename iterator_traits<_BiDirIter>::difference_type __n, bidirectional_iterator_tag)
476 typename iterator_traits<_RandIter>::difference_type __n, random_access_iterator_tag)
484 typename iterator_traits<_InputIter>::difference_type __n)
486 __advance(__i, __n, typename iterator_traits<_InputIter>::iterator_category());
491 typename iterator_traits<_InputIter>::difference_type
494 typename iterator_traits<_InputIter>::difference_type __r(0);
502 typename iterator_traits<_RandIter>::difference_type
510 typename iterator_traits<_InputIter>::difference_type
513 return __distance(__first, __last, typename iterator_traits<_InputIter>::iterator_category());
520 typename iterator_traits<_ForwardIter>::difference_type __n = 1,
531 typename iterator_traits<_BidiretionalIter>::difference_type __n = 1,
540 : public iterator<typename iterator_traits<_Iter>::iterator_category,
541 typename iterator_traits<_Iter>::value_type,
542 typename iterator_traits<_Iter>::difference_type,
543 typename iterator_traits<_Iter>::pointer,
544 typename iterator_traits<_Iter>::reference>
552 typedef typename iterator_traits<_Iter>::difference_type difference_type;
553 typedef typename iterator_traits<_Iter>::reference reference;
554 typedef typename iterator_traits<_Iter>::pointer pointer;
943 typedef typename iterator_traits<iterator_type>::iterator_category iterator_category;
944 typedef typename iterator_traits<iterator_type>::value_type value_type;
945 typedef typename iterator_traits<iterator_type>::difference_type difference_type;
946 typedef typename iterator_traits<iterator_type>::pointer pointer;
950 typedef typename iterator_traits<iterator_type>::reference reference;
962 typename iterator_traits<iterator_type>::reference __ref = *__i;
1122 typedef typename iterator_traits<iterator_type>::iterator_category iterator_category;
1123 typedef typename iterator_traits<iterator_type>::value_type value_type;
1124 typedef typename iterator_traits<iterator_type>::difference_type difference_type;
1125 typedef typename iterator_traits<iterator_type>::pointer pointer;
1126 typedef typename iterator_traits<iterator_type>::reference reference;