STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::algo_details::gen_comp_func< Functor > Class Template Reference

Work function for is_sorted() which takes a reference to two elements, and returns true if the given functor returns false when called with (second, first). More...

Public Member Functions

 gen_comp_func (Functor const &f)
 
template<typename Ref1 , typename Ref2 >
Functor::result_type operator() (Ref1 &&r1, Ref2 &&r2) const
 

Public Types

using argument_type = Functor::first_argument_type
 
using result_type = Functor::result_type
 

Detailed Description

template<typename Functor>
class stapl::algo_details::gen_comp_func< Functor >

Work function for is_sorted() which takes a reference to two elements, and returns true if the given functor returns false when called with (second, first).

Template Parameters
FunctorBinary functor which is used to compare the elements.

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