openMSX
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
PerfectMinimalHash::Result< M, Hash > Struct Template Reference

#include <MinimalPerfectHash.hh>

Collaboration diagram for PerfectMinimalHash::Result< M, Hash >:
Collaboration graph
[legend]

Public Member Functions

constexpr uint8_t lookupIndex (const auto &key) const
 

Public Attributes

std::array< uint8_t, M > tab1
 
std::array< uint8_t, M2tab2
 
Hash hash
 

Static Public Attributes

static constexpr auto M2 = M
 

Detailed Description

template<size_t M, typename Hash>
struct PerfectMinimalHash::Result< M, Hash >

Definition at line 60 of file MinimalPerfectHash.hh.

Member Function Documentation

◆ lookupIndex()

template<size_t M, typename Hash >
constexpr uint8_t PerfectMinimalHash::Result< M, Hash >::lookupIndex ( const auto &  key) const
inlineconstexpr

Member Data Documentation

◆ hash

template<size_t M, typename Hash >
Hash PerfectMinimalHash::Result< M, Hash >::hash

◆ M2

template<size_t M, typename Hash >
constexpr auto PerfectMinimalHash::Result< M, Hash >::M2 = M
staticconstexpr

◆ tab1

template<size_t M, typename Hash >
std::array<uint8_t, M > PerfectMinimalHash::Result< M, Hash >::tab1

◆ tab2

template<size_t M, typename Hash >
std::array<uint8_t, M2> PerfectMinimalHash::Result< M, Hash >::tab2

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