Home
last modified time | relevance | path

Searched refs:_InputIter (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Ddistance.h29 template <class _InputIter>
30 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 typename iterator_traits<_InputIter>::difference_type
31 __distance(_InputIter __first, _InputIter __last, input_iterator_tag) {
32 typename iterator_traits<_InputIter>::difference_type __r(0); in __distance()
44 template <class _InputIter> in __distance()
45 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 typename iterator_traits<_InputIter>::difference_type in __distance()
46 distance(_InputIter __first, _InputIter __last) { in __distance()
47 return std::__distance(__first, __last, typename iterator_traits<_InputIter> in __distance()
[all...]
H A Dprev.h27 template <class _InputIter, __enable_if_t<__has_input_iterator_category<_InputIter>::value, int> = 0>
28 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 _InputIter
29 prev(_InputIter __x, typename iterator_traits<_InputIter>::difference_type __n = 1) {
32 _LIBCPP_ASSERT_PEDANTIC(__n <= 0 || __has_bidirectional_iterator_category<_InputIter>::value,
H A Dnext.h27 template <class _InputIter, __enable_if_t<__has_input_iterator_category<_InputIter>::value, int> = 0>
28 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 _InputIter
29 next(_InputIter __x, typename iterator_traits<_InputIter>::difference_type __n = 1) {
32 _LIBCPP_ASSERT_PEDANTIC(__n >= 0 || __has_bidirectional_iterator_category<_InputIter>::value,
H A Dadvance.h37 template <class _InputIter>
39 __advance(_InputIter& __i, typename iterator_traits<_InputIter>::difference_type __n, input_iterato… in __advance()
61 template < class _InputIter,
65 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 void advance(_InputIter& __i, _Distance __orig_… in advance()
66 typedef typename iterator_traits<_InputIter>::difference_type _Difference; in advance()
69 _LIBCPP_ASSERT_PEDANTIC(__n >= 0 || __has_bidirectional_iterator_category<_InputIter>::value, in advance()
71 std::__advance(__i, __n, typename iterator_traits<_InputIter>::iterator_category()); in advance()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dqueue559 …template <class _InputIter, __enable_if_t<__has_input_iterator_category<_InputIter>::value, int> =…
560 …_LIBCPP_HIDE_FROM_ABI priority_queue(_InputIter __f, _InputIter __l, const value_compare& __comp =…
562 …template <class _InputIter, __enable_if_t<__has_input_iterator_category<_InputIter>::value, int> =…
564 …priority_queue(_InputIter __f, _InputIter __l, const value_compare& __comp, const container_type& …
567 …template <class _InputIter, __enable_if_t<__has_input_iterator_category<_InputIter>::value, int> =…
569 priority_queue(_InputIter __f, _InputIter __l, const value_compare& __comp, container_type&& __c);
601 class _InputIter,
603 …__enable_if_t<__has_input_iterator_category<_InputIter>::value && uses_allocator<container_type, _…
605 _LIBCPP_HIDE_FROM_ABI priority_queue(_InputIter __f, _InputIter __l, const _Alloc& __a);
608 class _InputIter,
[all …]
H A Ddeque624 …template <class _InputIter, __enable_if_t<__has_input_iterator_category<_InputIter>::value, int> =…
625 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l);
626 …template <class _InputIter, __enable_if_t<__has_input_iterator_category<_InputIter>::value, int> =…
627 _LIBCPP_HIDE_FROM_ABI deque(_InputIter __f, _InputIter __l, const allocator_type& __a);
667 template <class _InputIter,
668 __enable_if_t<__has_input_iterator_category<_InputIter>::value &&
669 !__has_random_access_iterator_category<_InputIter>::value,
671 _LIBCPP_HIDE_FROM_ABI void assign(_InputIter __f, _InputIter __l);
797 …template <class _InputIter, __enable_if_t<__has_exactly_input_iterator_category<_InputIter>::value…
798 _LIBCPP_HIDE_FROM_ABI iterator insert(const_iterator __p, _InputIter __f, _InputIter __l);
[all …]
H A D__split_buffer171 …template <class _InputIter, __enable_if_t<__has_exactly_input_iterator_category<_InputIter>::value…
172 …PR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void __construct_at_end(_InputIter __first, _InputIter __last…
279 template <class _InputIter, __enable_if_t<__has_exactly_input_iterator_category<_InputIter>::value,…
281 __split_buffer<_Tp, _Allocator>::__construct_at_end(_InputIter __first, _InputIter __last) {
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Diterator_operations.h174 template <class _InputIter>
175 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 static __difference_type<_InputIter> __advance…
176_InputIter& __iter, __difference_type<_InputIter> __count, const _InputIter& __sentinel, input_ite…
177 __difference_type<_InputIter> __dist = 0;
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dto.h162 using _InputIter = __minimal_input_iterator<_Range>; in __deduce_func() local
179 …requires { _Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>(… in __deduce_func()
181 …decltype(_Container(std::declval<_InputIter>(), std::declval<_InputIter>(), std::declval<_Args>().… in __deduce_func()