Work function for is_sorted_until(), which returns the first argument if it is not sorted, and otherwise returns the second.
More...
|
|
pair_type | operator() (pair_type elem1, pair_type elem2) |
| |
|
|
typedef std::pair< bool, typename View::index_type > | pair_type |
| |
|
typedef pair_type | result_type |
| |
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
-
| View | Type of the input view. |
The documentation for this struct was generated from the following file: