table of contents
__gnu_parallel::find_first_of_selector(3) | Library Functions Manual | __gnu_parallel::find_first_of_selector(3) |
NAME¶
__gnu_parallel::find_first_of_selector -
Test predicate on several elements.
SYNOPSIS¶
Inherits __gnu_parallel::generic_find_selector.
Public Member Functions¶
find_first_of_selector (ForwardIterator begin,
ForwardIterator end)
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 ,
typename Pred > bool operator() (RandomAccessIterator1 i1,
RandomAccessIterator2 i2, Pred pred)
template<typename RandomAccessIterator1 , typename RandomAccessIterator2 ,
typename Pred > std::pair< RandomAccessIterator1,
RandomAccessIterator2 > sequential_algorithm
(RandomAccessIterator1 begin1, RandomAccessIterator1 end1,
RandomAccessIterator2 begin2, Pred pred)
Public Attributes¶
ForwardIterator begin
ForwardIterator end
Detailed Description¶
template<typename ForwardIterator> struct __gnu_parallel::find_first_of_selector< ForwardIterator >¶
Test predicate on several elements.
Definition at line 152 of file find_selectors.h.
Member Function Documentation¶
template<typename ForwardIterator > template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename Pred > bool __gnu_parallel::find_first_of_selector< ForwardIterator >::operator() (RandomAccessIterator1 i1, RandomAccessIterator2 i2, Pred pred) [inline]¶
Test on one position. Parameters:
i2 Iterator on second sequence (unused).
pred Find predicate.
Definition at line 167 of file find_selectors.h.
template<typename ForwardIterator > template<typename RandomAccessIterator1 , typename RandomAccessIterator2 , typename Pred > std::pair<RandomAccessIterator1, RandomAccessIterator2> __gnu_parallel::find_first_of_selector< ForwardIterator >::sequential_algorithm (RandomAccessIterator1 begin1, RandomAccessIterator1 end1, RandomAccessIterator2 begin2, Pred pred) [inline]¶
Corresponding sequential algorithm on a sequence. Parameters:
end1 End iterator of first sequence.
begin2 Begin iterator of second sequence.
pred Find predicate.
Definition at line 184 of file find_selectors.h.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
19 Jun 2018 | libstdc++ |