ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::rankable Concept Reference

rank( k ), the number of keys smaller than \( k \) (the order statistics); its time is the query rank_complexity_t More...

#include <ADS/Capabilities.h>

Concept definition

template< class S , class K = key_type_t< S > >
concept rankable = requires( const S & s , const K & k )
{
{ s.rank( k ) } -> std::convertible_to< std::size_t >;
}
rank( k ), the number of keys smaller than (the order statistics); its time is the query rank_comple...
Definition Capabilities.h:495

Detailed description

rank( k ), the number of keys smaller than \( k \) (the order statistics); its time is the query rank_complexity_t