Work function which returns the second argument if the first compares equal to 0, and the first otherwise.
More...
|
template<typename Elm > |
T | operator() (Elm elem1, Elm elem2) |
|
|
using | first_argument_type = T |
|
using | second_argument_type = T |
|
using | result_type = T |
|
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
-
T | The type of the arguments. |
The documentation for this struct was generated from the following file: