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::lexico_reduce< T > Struct Template Reference

Work function which returns the second argument if the first compares equal to 0, and the first otherwise. More...

Public Member Functions

template<typename Elm >
operator() (Elm elem1, Elm elem2)
 

Public Types

using first_argument_type = T
 
using second_argument_type = T
 
using result_type = T
 

Detailed Description

template<typename T>
struct stapl::algo_details::lexico_reduce< T >

Work function which returns the second argument if the first compares equal to 0, and the first otherwise.

Template Parameters
TThe type of the arguments.

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