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::is_sorted_until_reduce< View > Struct Template Reference

Work function for is_sorted_until(), which returns the first argument if it is not sorted, and otherwise returns the second. More...

Public Member Functions

pair_type operator() (pair_type elem1, pair_type elem2)
 

Public Types

typedef std::pair< bool, typename View::index_type > pair_type
 
typedef pair_type result_type
 

Detailed Description

template<typename View>
struct stapl::algo_details::is_sorted_until_reduce< View >

Work function for is_sorted_until(), which returns the first argument if it is not sorted, and otherwise returns the second.

Template Parameters
ViewType of the input view.

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