order_statistics_key_cmp
 Interface
A comparison functor. Transforms any comparison functor operating on logical keys to a comparison functor operating on order statistics keys.
../../../../include/ext/pb_assoc/order_statistics_key.hpporder_statistics_key.hpp #link1Template parameters.
#link2Base classes.
Public Types and Constants:
#link3Policy definitions.
#link4Key-type definitions.
Public Methods:
#link5Constructors, destructor, and related.
#link6Operators.
#link7Policy access methods.
Template parameters.
Parameter Description Default Value Cmp_Fn Comparison functor.
std::less< #Key3735928856Key > Allocator Allocator type.
The allocator is only used for definitions, e.g., size_type, pointer, and reference.
std::allocator<char> Base classes.
Class Derivation Type std::binary_function<
  order_statistics_key<
    
typename #Cmp_Fn3735929122Cmp_Fn ::first_argument_type, #Allocator3735929488Allocator >,
  order_statistics_key<
    
typename #Cmp_Fn3735929122Cmp_Fn ::second_argument_type, #Allocator3735929488Allocator >,
  
bool> public
Policy definitions.
Type Definition Description allocator #Allocator3735929488Allocator Allocator type.
cmp_fn #Cmp_Fn3735929122Cmp_Fn Comparison functor type.
Key-type definitions.
Type Definition Description key_type order_statistics_key<
    
typename #Cmp_Fn3735929122Cmp_Fn ::first_argument_type, #Allocator3735929488Allocator > Key type.
const_key_reference typename #allocator3735929520allocator ::template rebind<
    
#key_type3735929433key_type >::other::const_reference Const key reference type.
Constructors, destructor, and related.
Method Description inline  order_statistics_key_cmp
  ()
Default constructor.
inline  order_statistics_key_cmp
  (
const #Cmp_Fn3735929122Cmp_Fn  &r_cmp_fn) Constructor taking a comparison functor.
Operators.
Method Description inline bool  
operator()
  (
#const_key_reference3735929552const_key_reference  r_lhs_key,
    
#const_key_reference3735929552const_key_reference  r_rhs_key) const Compares two keys.
Policy access methods.
Method Description inline #cmp_fn3735929186cmp_fn  &
  get_cmp_fn
  ()
Access to the comparison functor object used.
inline const #cmp_fn3735929186cmp_fn  &
  get_cmp_fn
  () 
const Const access to the comparison functor object used.
