STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::pair_wise_tuple_comparison< Op, N > Struct Template Reference

Functor comparing 2 tuples pair-wise. More...

Public Member Functions

 pair_wise_tuple_comparison (Op operation)
 
template<typename T1 , typename T2 >
bool operator() (T1 const &t1, T2 const &t2)
 

Detailed Description

template<typename Op, int N>
struct stapl::pair_wise_tuple_comparison< Op, N >

Functor comparing 2 tuples pair-wise.

Template Parameters
Opoperator type for comparison.
NLast index of the tuple type.

Constructor & Destructor Documentation

◆ pair_wise_tuple_comparison()

template<typename Op , int N>
stapl::pair_wise_tuple_comparison< Op, N >::pair_wise_tuple_comparison ( Op  operation)
Parameters
operatorfor comparison.

Member Function Documentation

◆ operator()()

template<typename Op , int N>
template<typename T1 , typename T2 >
bool stapl::pair_wise_tuple_comparison< Op, N >::operator() ( T1 const &  t1,
T2 const &  t2 
)
Parameters
t1first tuple.
t2second tuple.
Returns
true if all pair-wise comparisons return true

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