| /src/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | subrange.h | 65 template <class _Pair, class _Iter, class _Sent> 67 !range<_Pair> && __pair_like_no_subrange<_Pair> && constructible_from<_Pair, _Iter, _Sent> && 68 …__convertible_to_non_slicing<_Iter, tuple_element_t<0, _Pair>> && convertible_to<_Sent, tuple_elem… 71 sentinel_for<_Iter> _Sent = _Iter, 72 …subrange_kind _Kind = sized_sentinel_for<_Sent, _Iter> ? subrange_kind::sized : subrange_kin… 73 requires(_Kind == subrange_kind::sized || !sized_sentinel_for<_Sent, _Iter>) 74 class _LIBCPP_TEMPLATE_VIS subrange : public view_interface<subrange<_Iter, _Sent, _Kind>> { 77 …static constexpr bool _StoreSize = (_Kind == subrange_kind::sized && !sized_sentinel_for<_Sent, _I… 86 _LIBCPP_NO_UNIQUE_ADDRESS _Sent __end_ = _Sent(); 94 …_LIBCPP_HIDE_FROM_ABI constexpr subrange(__convertible_to_non_slicing<_Iter> auto __iter, _Sent __… in subrange() [all …]
|
| /src/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | common_iterator.h | 48 template <input_or_output_iterator _Iter, sentinel_for<_Iter> _Sent> 49 requires(!same_as<_Iter, _Sent> && copyable<_Iter>) 63 variant<_Iter, _Sent> __hold_; 74 …_LIBCPP_HIDE_FROM_ABI constexpr common_iterator(_Sent __s) : __hold_(in_place_type<_Sent>, std::mo… in common_iterator() 77 requires convertible_to<const _I2&, _Iter> && convertible_to<const _S2&, _Sent> 79 : __hold_([&]() -> variant<_Iter, _Sent> { in common_iterator() 83 … return variant<_Iter, _Sent>{in_place_index<0>, std::__unchecked_get<0>(__other.__hold_)}; in common_iterator() 84 return variant<_Iter, _Sent>{in_place_index<1>, std::__unchecked_get<1>(__other.__hold_)}; in common_iterator() 88 requires convertible_to<const _I2&, _Iter> && convertible_to<const _S2&, _Sent> && 89 assignable_from<_Iter&, const _I2&> && assignable_from<_Sent&, const _S2&> [all …]
|
| H A D | move_sentinel.h | 29 template <semiregular _Sent> 34 _LIBCPP_HIDE_FROM_ABI constexpr explicit move_sentinel(_Sent __s) : __last_(std::move(__s)) {} in move_sentinel() 37 requires convertible_to<const _S2&, _Sent> 41 requires assignable_from<_Sent&, const _S2&> 47 _LIBCPP_HIDE_FROM_ABI constexpr _Sent base() const { return __last_; } in base() 50 _Sent __last_ = _Sent();
|
| /src/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | unwrap_range.h | 35 template <class _Iter, class _Sent> 37 _LIBCPP_HIDE_FROM_ABI static constexpr auto __unwrap(_Iter __first, _Sent __sent) in __unwrap() 38 requires random_access_iterator<_Iter> && sized_sentinel_for<_Sent, _Iter> in __unwrap() 44 _LIBCPP_HIDE_FROM_ABI static constexpr auto __unwrap(_Iter __first, _Sent __last) { in __unwrap() 50 requires random_access_iterator<_Iter> && sized_sentinel_for<_Sent, _Iter> in __rewrap() 56 requires(!(random_access_iterator<_Iter> && sized_sentinel_for<_Sent, _Iter>)) in __rewrap() 74 template <class _Iter, class _Sent> 75 _LIBCPP_HIDE_FROM_ABI constexpr auto __unwrap_range(_Iter __first, _Sent __last) { 76 return __unwrap_range_impl<_Iter, _Sent>::__unwrap(std::move(__first), std::move(__last)); 79 template < class _Sent, class _Iter, class _Unwrapped> [all …]
|
| H A D | ranges_find_last.h | 39 template <class _Iter, class _Sent, class _Pred, class _Proj> 41 __find_last_impl(_Iter __first, _Sent __last, _Pred __pred, _Proj& __proj) { in __find_last_impl() 86 template <forward_iterator _Iter, sentinel_for<_Iter> _Sent, class _Type, class _Proj = identity> 89 operator()(_Iter __first, _Sent __last, const _Type& __value, _Proj __proj = {}) { in operator() 114 sentinel_for<_Iter> _Sent, 118 operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj __proj = {}) { in operator() 144 sentinel_for<_Iter> _Sent, 148 operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj __proj = {}) { in operator()
|
| H A D | unique_copy.h | 39 template <class _AlgPolicy, class _BinaryPredicate, class _InputIterator, class _Sent, class _Outpu… 42 _Sent __last, in __unique_copy() 61 template <class _AlgPolicy, class _BinaryPredicate, class _ForwardIterator, class _Sent, class _Out… 64 _Sent __last, in __unique_copy() 83 template <class _AlgPolicy, class _BinaryPredicate, class _InputIterator, class _Sent, class _Input… 86 _Sent __last, in __unique_copy()
|
| H A D | ranges_generate.h | 38 template <class _OutIter, class _Sent, class _Func> 39 …_LIBCPP_HIDE_FROM_ABI constexpr static _OutIter __generate_fn_impl(_OutIter __first, _Sent __last,… in __generate_fn_impl() 47 …template <input_or_output_iterator _OutIter, sentinel_for<_OutIter> _Sent, copy_constructible _Fun… 49 …_LIBCPP_HIDE_FROM_ABI constexpr _OutIter operator()(_OutIter __first, _Sent __last, _Func __gen) c… in operator()
|
| H A D | ranges_rotate.h | 39 template <class _Iter, class _Sent> 40 …BI constexpr static subrange<_Iter> __rotate_fn_impl(_Iter __first, _Iter __middle, _Sent __last) { in __rotate_fn_impl() 45 template <permutable _Iter, sentinel_for<_Iter> _Sent> 46 …_LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter> operator()(_Iter __first, _Iter __middle, _Sent __… in operator()
|
| H A D | ranges_any_of.h | 35 template <class _Iter, class _Sent, class _Proj, class _Pred> 36 …_LIBCPP_HIDE_FROM_ABI constexpr static bool __any_of_impl(_Iter __first, _Sent __last, _Pred& __pr… in __any_of_impl() 45 sentinel_for<_Iter> _Sent, 49 operator()(_Iter __first, _Sent __last, _Pred __pred = {}, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_all_of.h | 35 template <class _Iter, class _Sent, class _Proj, class _Pred> 36 …_LIBCPP_HIDE_FROM_ABI constexpr static bool __all_of_impl(_Iter __first, _Sent __last, _Pred& __pr… in __all_of_impl() 45 sentinel_for<_Iter> _Sent, 49 operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_none_of.h | 35 template <class _Iter, class _Sent, class _Proj, class _Pred> 37 __none_of_impl(_Iter __first, _Sent __last, _Pred& __pred, _Proj& __proj) { in __none_of_impl() 46 sentinel_for<_Iter> _Sent, 50 operator()(_Iter __first, _Sent __last, _Pred __pred = {}, _Proj __proj = {}) const { in operator()
|
| H A D | copy.h | 31 template <class, class _InIter, class _Sent, class _OutIter> 32 …DE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 pair<_InIter, _OutIter> __copy(_InIter, _Sent, _OutIter); 36 template <class _InIter, class _Sent, class _OutIter> 38 operator()(_InIter __first, _Sent __last, _OutIter __result) const { in operator() 106 template <class _AlgPolicy, class _InIter, class _Sent, class _OutIter> 108 __copy(_InIter __first, _Sent __last, _OutIter __result) { in __copy()
|
| H A D | ranges_is_heap.h | 40 template <class _Iter, class _Sent, class _Proj, class _Comp> 42 __is_heap_fn_impl(_Iter __first, _Sent __last, _Comp& __comp, _Proj& __proj) { in __is_heap_fn_impl() 51 sentinel_for<_Iter> _Sent, 55 operator()(_Iter __first, _Sent __last, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_stable_sort.h | 45 template <class _Iter, class _Sent, class _Comp, class _Proj> 46 …_LIBCPP_HIDE_FROM_ABI static _Iter __stable_sort_fn_impl(_Iter __first, _Sent __last, _Comp& __com… in __stable_sort_fn_impl() 55 …template <random_access_iterator _Iter, sentinel_for<_Iter> _Sent, class _Comp = ranges::less, cla… 57 …_LIBCPP_HIDE_FROM_ABI _Iter operator()(_Iter __first, _Sent __last, _Comp __comp = {}, _Proj __pro… in operator()
|
| H A D | ranges_is_partitioned.h | 36 template <class _Iter, class _Sent, class _Proj, class _Pred> 38 __is_partitioned_impl(_Iter __first, _Sent __last, _Pred& __pred, _Proj& __proj) { in __is_partitioned_impl() 57 sentinel_for<_Iter> _Sent, 61 operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_count_if.h | 36 template <class _Iter, class _Sent, class _Proj, class _Pred> 38 __count_if_impl(_Iter __first, _Sent __last, _Pred& __pred, _Proj& __proj) { in __count_if_impl() 50 sentinel_for<_Iter> _Sent, 54 operator()(_Iter __first, _Sent __last, _Predicate __pred, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_is_heap_until.h | 41 template <class _Iter, class _Sent, class _Proj, class _Comp> 43 __is_heap_until_fn_impl(_Iter __first, _Sent __last, _Comp& __comp, _Proj& __proj) { in __is_heap_until_fn_impl() 51 sentinel_for<_Iter> _Sent, 55 operator()(_Iter __first, _Sent __last, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
|
| H A D | copy_move_common.h | 89 class _Sent, 93 __copy_move_unwrap_iters(_InIter __first, _Sent __last, _OutIter __out_first) { in __copy_move_unwrap_iters() 96 return std::make_pair(std::__rewrap_range<_Sent>(std::move(__first), std::move(__result.first)), in __copy_move_unwrap_iters() 102 class _Sent, 106 __copy_move_unwrap_iters(_InIter __first, _Sent __last, _OutIter __out_first) { in __copy_move_unwrap_iters()
|
| H A D | ranges_stable_partition.h | 48 template <class _Iter, class _Sent, class _Proj, class _Pred> 50 __stable_partition_fn_impl(_Iter&& __first, _Sent&& __last, _Pred&& __pred, _Proj&& __proj) { in __stable_partition_fn_impl() 61 sentinel_for<_Iter> _Sent, 65 …_LIBCPP_HIDE_FROM_ABI subrange<_Iter> operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj … in operator()
|
| H A D | ranges_for_each.h | 42 template <class _Iter, class _Sent, class _Proj, class _Func> 44 __for_each_impl(_Iter __first, _Sent __last, _Func& __func, _Proj& __proj) { in __for_each_impl() 52 sentinel_for<_Iter> _Sent, 56 operator()(_Iter __first, _Sent __last, _Func __func, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_sort.h | 45 template <class _Iter, class _Sent, class _Comp, class _Proj> 47 __sort_fn_impl(_Iter __first, _Sent __last, _Comp& __comp, _Proj& __proj) { in __sort_fn_impl() 56 …template <random_access_iterator _Iter, sentinel_for<_Iter> _Sent, class _Comp = ranges::less, cla… 59 operator()(_Iter __first, _Sent __last, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_make_heap.h | 46 template <class _Iter, class _Sent, class _Comp, class _Proj> 48 __make_heap_fn_impl(_Iter __first, _Sent __last, _Comp& __comp, _Proj& __proj) { in __make_heap_fn_impl() 57 …template <random_access_iterator _Iter, sentinel_for<_Iter> _Sent, class _Comp = ranges::less, cla… 60 operator()(_Iter __first, _Sent __last, _Comp __comp = {}, _Proj __proj = {}) const { in operator()
|
| H A D | ranges_move.h | 40 template <class _InIter, class _Sent, class _OutIter> 42 __move_impl(_InIter __first, _Sent __last, _OutIter __result) { in __move_impl() 47 template <input_iterator _InIter, sentinel_for<_InIter> _Sent, weakly_incrementable _OutIter> 50 operator()(_InIter __first, _Sent __last, _OutIter __result) const { in operator()
|
| H A D | min_element.h | 30 template <class _Comp, class _Iter, class _Sent, class _Proj> 32 __min_element(_Iter __first, _Sent __last, _Comp __comp, _Proj& __proj) { in __min_element() 44 template <class _Comp, class _Iter, class _Sent> 45 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iter __min_element(_Iter __first, _Sent __last… in __min_element()
|
| /src/contrib/llvm-project/libcxx/include/__fwd/ |
| H A D | subrange.h | 29 template <input_or_output_iterator _Iter, sentinel_for<_Iter> _Sent, subrange_kind _Kind> 30 requires(_Kind == subrange_kind::sized || !sized_sentinel_for<_Sent, _Iter>) 33 template <size_t _Index, class _Iter, class _Sent, subrange_kind _Kind> 35 _LIBCPP_HIDE_FROM_ABI constexpr auto get(const subrange<_Iter, _Sent, _Kind>&); 37 template <size_t _Index, class _Iter, class _Sent, subrange_kind _Kind> 39 _LIBCPP_HIDE_FROM_ABI constexpr auto get(subrange<_Iter, _Sent, _Kind>&&);
|