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;
216 typedef typename iterator_traits<Iterator>::difference_type difference_type;
218 typedef typename iterator_traits<Iterator>::value_type value_type;
219 typedef typename iterator_traits<Iterator>::iterator_category iterator_category;
475 // iterator_traits<Iterator> will only have the nested types if Iterator::iterator_category
476 // exists. Else iterator_traits<Iterator> will be an empty class. This is a
481 struct _LIBCPP_TEMPLATE_VIS iterator_traits
485 struct _LIBCPP_TEMPLATE_VIS iterator_traits<_Tp*>
494 template <class _Tp, class _Up, bool = __has_iterator_category<iterator_traits<_Tp> >::value>
496 …: public integral_constant<bool, is_convertible<typename iterator_traits<_Tp>::iterator_category, …
534 typename iterator_traits<_InputIter>::difference_type __n, input_iterator_tag)
543 typename iterator_traits<_BiDirIter>::difference_type __n, bidirectional_iterator_tag)
556 typename iterator_traits<_RandIter>::difference_type __n, random_access_iterator_tag)
564 typename iterator_traits<_InputIter>::difference_type __n)
566 __advance(__i, __n, typename iterator_traits<_InputIter>::iterator_category());
571 typename iterator_traits<_InputIter>::difference_type
574 typename iterator_traits<_InputIter>::difference_type __r(0);
582 typename iterator_traits<_RandIter>::difference_type
590 typename iterator_traits<_InputIter>::difference_type
593 return __distance(__first, __last, typename iterator_traits<_InputIter>::iterator_category());
600 typename iterator_traits<_InputIter>::difference_type __n = 1,
611 typename iterator_traits<_BidiretionalIter>::difference_type __n = 1,
620 : public iterator<typename iterator_traits<_Iter>::iterator_category,
621 typename iterator_traits<_Iter>::value_type,
622 typename iterator_traits<_Iter>::difference_type,
623 typename iterator_traits<_Iter>::pointer,
624 typename iterator_traits<_Iter>::reference>
632 typedef typename iterator_traits<_Iter>::difference_type difference_type;
633 typedef typename iterator_traits<_Iter>::reference reference;
634 typedef typename iterator_traits<_Iter>::pointer pointer;
1046 typedef typename iterator_traits<iterator_type>::iterator_category iterator_category;
1047 typedef typename iterator_traits<iterator_type>::value_type value_type;
1048 typedef typename iterator_traits<iterator_type>::difference_type difference_type;
1051 typedef typename iterator_traits<iterator_type>::reference __reference;
1058 typedef typename iterator_traits<iterator_type>::reference reference;
1262 typedef typename iterator_traits<iterator_type>::iterator_category iterator_category;
1263 typedef typename iterator_traits<iterator_type>::value_type value_type;
1264 typedef typename iterator_traits<iterator_type>::difference_type difference_type;
1265 typedef typename iterator_traits<iterator_type>::pointer pointer;
1266 typedef typename iterator_traits<iterator_type>::reference reference;