STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::algo_details::upper_bound_map_wf< Value, StrictWeakOrdering > Class Template Reference

Work function for upper_bound(), which takes a view over a sorted input, and computes the std::upper_bound on it, or null_reference if the range is all less than or equal to the given value. More...

Public Member Functions

 upper_bound_map_wf (Value value, StrictWeakOrdering comparator)
 
template<typename View >
View::reference operator() (View const &view) const
 

Detailed Description

template<typename Value, typename StrictWeakOrdering>
class stapl::algo_details::upper_bound_map_wf< Value, StrictWeakOrdering >

Work function for upper_bound(), which takes a view over a sorted input, and computes the std::upper_bound on it, or null_reference if the range is all less than or equal to the given value.

Template Parameters
ValueType of value being searched.
StrictWeakOrderingBinary functor which implements the less operation.

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