GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::__find_if_selector Struct Reference

Test predicate on a single element, used for std::find() and std::find_if (). More...

#include <find_selectors.h>

Inheritance diagram for __gnu_parallel::__find_if_selector:
Collaboration diagram for __gnu_parallel::__find_if_selector:

Public Member Functions

template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
std::pair< _RAIter1, _RAIter2 > _M_sequential_algorithm (_RAIter1 __begin1, _RAIter1 __end1, _RAIter2 __begin2, _Pred __pred)
 Corresponding sequential algorithm on a sequence. More...
 
template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
bool operator() (_RAIter1 __i1, _RAIter2 __i2, _Pred __pred)
 Test on one position. More...
 

Detailed Description

Test predicate on a single element, used for std::find() and std::find_if ().

Member Function Documentation

template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
std::pair<_RAIter1, _RAIter2> __gnu_parallel::__find_if_selector::_M_sequential_algorithm ( _RAIter1  __begin1,
_RAIter1  __end1,
_RAIter2  __begin2,
_Pred  __pred 
)
inline

Corresponding sequential algorithm on a sequence.

Parameters
__begin1Begin iterator of first sequence.
__end1End iterator of first sequence.
__begin2Begin iterator of second sequence.
__predFind predicate.
template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
bool __gnu_parallel::__find_if_selector::operator() ( _RAIter1  __i1,
_RAIter2  __i2,
_Pred  __pred 
)
inline

Test on one position.

Parameters
__i1_Iterator on first sequence.
__i2_Iterator on second sequence (unused).
__predFind predicate.

The documentation for this struct was generated from the following file: