libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ count_if() [1/4]

template<class _ExecutionPolicy, class _ForwardIterator, class _Predicate>
__pstl::__internal::__enable_if_execution_policy< _ExecutionPolicy, typename iterator_traits< _ForwardIterator >::difference_type > std::count_if ( _ExecutionPolicy && __exec,
_ForwardIterator __first,
_ForwardIterator __last,
_Predicate __pred )

Definition at line 184 of file glue_algorithm_impl.h.

185{
186 auto __dispatch_tag = __pstl::__internal::__select_backend(__exec, __first);
187 return __pstl::__internal::__pattern_count(__dispatch_tag, std::forward<_ExecutionPolicy>(__exec), __first, __last,
188 __pred);
189}
constexpr _Tp && forward(typename std::remove_reference< _Tp >::type &__t) noexcept
Forward an lvalue.
Definition move.h:72
std::iterator_traits< _ForwardIterator >::difference_type __pattern_count(_Tag, _ExecutionPolicy &&, _ForwardIterator, _ForwardIterator, _Predicate) noexcept
__serial_tag< std::false_type > __select_backend(__pstl::execution::sequenced_policy, _IteratorTypes &&...)

References __pstl::__internal::__pattern_count(), __pstl::__internal::__select_backend(), count_if(), and forward().

Here is the call graph for this function: