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::convert_to_int< WF > Class Template Reference

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
 

Detailed Description

template<typename WF>
class stapl::algo_details::convert_to_int< WF >

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.


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