__gnu_parallel::find_first_of_selector< ForwardIterator > Struct Template Reference

Inheritance diagram for __gnu_parallel::find_first_of_selector< ForwardIterator >:

Inheritance graph
List of all members.

Detailed Description

template<typename ForwardIterator>
struct __gnu_parallel::find_first_of_selector< ForwardIterator >

Test predicate on several elements.

Definition at line 158 of file find_selectors.h.

Public Member Functions

Public Attributes


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:
i1 Iterator on first sequence.
i2 Iterator on second sequence (unused).
pred Find predicate.

Definition at line 173 of file find_selectors.h.

References __gnu_parallel::find_first_of_selector< ForwardIterator >::begin, and __gnu_parallel::find_first_of_selector< ForwardIterator >::end.

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:
begin1 Begin iterator of first sequence.
end1 End iterator of first sequence.
begin2 Begin iterator of second sequence.
pred Find predicate.

Definition at line 190 of file find_selectors.h.

References __gnu_parallel::find_first_of_selector< ForwardIterator >::begin, __gnu_parallel::find_first_of_selector< ForwardIterator >::end, and std::make_pair().


The documentation for this struct was generated from the following file:
Generated on Wed Mar 26 00:44:08 2008 for libstdc++ by  doxygen 1.5.1