Lines Matching refs:_Distance
57 template <class _Category, class _Tp, _STLP_DFL_TMPL_PARAM(_Distance,ptrdiff_t),
62 typedef _Distance difference_type;
248 template <class _Category, class _Tp, class _Distance, class _Pointer, class _Reference>
249 inline _Category _STLP_CALL iterator_category(const iterator<_Category,_Tp,_Distance,_Pointer,_Reference>&) { return _Category(); }
250 template <class _Category, class _Tp, class _Distance, class _Pointer, class _Reference>
251 inline _Tp* _STLP_CALL value_type(const iterator<_Category,_Tp,_Distance,_Pointer,_Reference>&) { return __STATIC_CAST(_Tp*, 0); }
252 template <class _Category, class _Tp, class _Distance, class _Pointer, class _Reference>
253 inline _Distance* _STLP_CALL distance_type(const iterator<_Category,_Tp,_Distance,_Pointer,_Reference>&) { return __STATIC_CAST(_Distance*, 0); }
267 template <class _Tp, class _Distance> struct input_iterator :
268 public iterator <input_iterator_tag, _Tp, _Distance, _Tp*, _Tp&> {};
270 template <class _Tp, class _Distance> struct forward_iterator :
271 public iterator<forward_iterator_tag, _Tp, _Distance, _Tp*, _Tp&> {};
272 template <class _Tp, class _Distance> struct bidirectional_iterator :
273 public iterator<bidirectional_iterator_tag, _Tp, _Distance, _Tp*, _Tp&> {};
274 template <class _Tp, class _Distance> struct random_access_iterator :
275 public iterator<random_access_iterator_tag, _Tp, _Distance, _Tp*, _Tp&> {};
278 template <class _Tp, class _Distance>
280 iterator_category(const input_iterator<_Tp, _Distance>&) { return input_iterator_tag(); }
283 template <class _Tp, class _Distance>
285 iterator_category(const forward_iterator<_Tp, _Distance>&) { return forward_iterator_tag(); }
286 template <class _Tp, class _Distance>
288 iterator_category(const bidirectional_iterator<_Tp, _Distance>&) { return bidirectional_iterator_tag(); }
289 template <class _Tp, class _Distance>
291 iterator_category(const random_access_iterator<_Tp, _Distance>&) { return random_access_iterator_tag(); }
292 template <class _Tp, class _Distance>
293 inline _Tp* _STLP_CALL value_type(const input_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Tp*, 0); }
294 template <class _Tp, class _Distance>
295 inline _Tp* _STLP_CALL value_type(const forward_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Tp*, 0); }
296 template <class _Tp, class _Distance>
297 inline _Tp* _STLP_CALL value_type(const bidirectional_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Tp*, 0); }
298 template <class _Tp, class _Distance>
299 inline _Tp* _STLP_CALL value_type(const random_access_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Tp*, 0); }
300 template <class _Tp, class _Distance>
301 inline _Distance* _STLP_CALL distance_type(const input_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Distance*, 0); }
302 template <class _Tp, class _Distance>
303 inline _Distance* _STLP_CALL distance_type(const forward_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Distance*, 0); }
304 template <class _Tp, class _Distance>
305 inline _Distance* _STLP_CALL distance_type(const bidirectional_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Distance*, 0);}
306 template <class _Tp, class _Distance>
307 inline _Distance* _STLP_CALL distance_type(const random_access_iterator<_Tp, _Distance>&) { return __STATIC_CAST(_Distance*, 0); }
365 template <class _InputIterator, class _Distance>
367 const _InputIterator& __last, _Distance& __n)
373 inline void _STLP_CALL _Distance(_InputIterator __first,
478 template <class _InputIter, class _Distance>
480 __advance(_InputIter& __i, _Distance __n, const input_iterator_tag &)
484 template <class _InputIter, class _Distance>
486 __advance(_InputIter& __i, _Distance __n, const output_iterator_tag &)
490 template <class _ForwardIterator, class _Distance>
492 __advance(_ForwardIterator& i, _Distance n, const forward_iterator_tag &)
496 template <class _BidirectionalIterator, class _Distance>
498 __advance(_BidirectionalIterator& __i, _Distance __n,
506 template <class _RandomAccessIterator, class _Distance>
508 __advance(_RandomAccessIterator& __i, _Distance __n,
514 template <class _InputIterator, class _Distance>
515 inline void _STLP_CALL advance(_InputIterator& __i, _Distance __n)