Everett
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
everett::rank_groups< K > Struct Template Reference

#include <rank_groups.h>

Public Member Functions

rank_groups_view< K > view () const &
 
rank_groups_view< K > view () const &&=delete
 

Static Public Member Functions

static rank_groups build (std::span< std::uint64_t const > source, std::uint64_t count)
 

Public Attributes

std::vector< std::uint64_t > classes
 
std::vector< std::uint64_t > checkpoints
 
std::uint64_t virtual_count = 0
 

Static Public Attributes

static constexpr std::uint64_t group_size = K
 
static constexpr unsigned class_bits = unsigned(std::countr_zero(K + 1))
 

Member Function Documentation

◆ build()

template<std::uint64_t K>
static rank_groups everett::rank_groups< K >::build ( std::span< std::uint64_t const >  source,
std::uint64_t  count 
)
inlinestatic

◆ view() [1/2]

template<std::uint64_t K>
rank_groups_view< K > everett::rank_groups< K >::view ( ) const &
inline

◆ view() [2/2]

template<std::uint64_t K>
rank_groups_view< K > everett::rank_groups< K >::view ( ) const &&
delete

Member Data Documentation

◆ checkpoints

template<std::uint64_t K>
std::vector<std::uint64_t> everett::rank_groups< K >::checkpoints

◆ class_bits

template<std::uint64_t K>
constexpr unsigned everett::rank_groups< K >::class_bits = unsigned(std::countr_zero(K + 1))
staticconstexpr

◆ classes

template<std::uint64_t K>
std::vector<std::uint64_t> everett::rank_groups< K >::classes

◆ group_size

template<std::uint64_t K>
constexpr std::uint64_t everett::rank_groups< K >::group_size = K
staticconstexpr

◆ virtual_count

template<std::uint64_t K>
std::uint64_t everett::rank_groups< K >::virtual_count = 0

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