Convert boolean return value of partition predicate passed to is_partitioned() to int, so that it is in the tribool form expected by the is_partitioned_reduce reduction operator of the stapl::map_reduce. More...
Public Member Functions | |
convert_to_int (WF const &wf) | |
template<typename View > | |
int | operator() (View &&elem) const |
Public Types | |
typedef int | result_type |
Convert boolean return value of partition predicate passed to is_partitioned() to int, so that it is in the tribool form expected by the is_partitioned_reduce reduction operator of the stapl::map_reduce.