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

Work function for equal_range() which returns the position of its argument if the argument compares equal to the given value according to the given ordering, or null_reference position otherwise. More...

Public Member Functions

 range_equal_range (Value value, StrictWeakOrdering comparator)
 
template<typename View >
Return operator() (View const &view) const
 

Detailed Description

template<typename Value, typename StrictWeakOrdering, typename Return>
class stapl::algo_details::range_equal_range< Value, StrictWeakOrdering, Return >

Work function for equal_range() which returns the position of its argument if the argument compares equal to the given value according to the given ordering, or null_reference position otherwise.

Template Parameters
ValueType of the elements being compared.
StrictWeakOrderingBinary functor which, given two values, will return true if the first precedes the second. If the two values return false for both orderings, then they are equal.
ReturnThe type of the domain of the input view, used to construct the range of equality for the output.

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