libstdc++
__gnu_parallel::__find_first_of_selector< _FIterator > Struct Template Reference

#include <find_selectors.h>

Inheritance diagram for __gnu_parallel::__find_first_of_selector< _FIterator >:
[legend]

Public Member Functions

 __find_first_of_selector (_FIterator __begin, _FIterator __end)
 
template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
std::pair< _RAIter1, _RAIter2 > _M_sequential_algorithm (_RAIter1 __begin1, _RAIter1 __end1, _RAIter2 __begin2, _Pred __pred)
 
template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
bool operator() (_RAIter1 __i1, _RAIter2 __i2, _Pred __pred)
 

Public Attributes

_FIterator _M_begin
 
_FIterator _M_end
 

Detailed Description

template<typename _FIterator>
struct __gnu_parallel::__find_first_of_selector< _FIterator >

Test predicate on several elements.

Definition at line 153 of file find_selectors.h.

Constructor & Destructor Documentation

◆ __find_first_of_selector()

template<typename _FIterator >
__gnu_parallel::__find_first_of_selector< _FIterator >::__find_first_of_selector ( _FIterator  __begin,
_FIterator  __end 
)
inlineexplicit

Definition at line 158 of file find_selectors.h.

Member Function Documentation

◆ _M_sequential_algorithm()

template<typename _FIterator >
template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
std::pair< _RAIter1, _RAIter2 > __gnu_parallel::__find_first_of_selector< _FIterator >::_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.

Definition at line 186 of file find_selectors.h.

◆ operator()()

template<typename _FIterator >
template<typename _RAIter1 , typename _RAIter2 , typename _Pred >
bool __gnu_parallel::__find_first_of_selector< _FIterator >::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.

Definition at line 169 of file find_selectors.h.

Member Data Documentation

◆ _M_begin

template<typename _FIterator >
_FIterator __gnu_parallel::__find_first_of_selector< _FIterator >::_M_begin

Definition at line 155 of file find_selectors.h.

◆ _M_end

template<typename _FIterator >
_FIterator __gnu_parallel::__find_first_of_selector< _FIterator >::_M_end

Definition at line 156 of file find_selectors.h.


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