JH-Toolkit v1.4.1
An engineering-oriented C++20 toolkit with duck-typed concepts, static design, async coroutines, and semantic containers — header-only, RTTI-free, and concurrency-friendly.
Loading...
Searching...
No Matches
jh::meta::lookup_map< K, V, N, Hash >::entry Struct Referencefinal

Single entry stored in the lookup table. More...

#include <jh/metax/lookup_map.h>

Public Member Functions

constexpr bool operator< (const entry &rhs) const noexcept
constexpr bool operator== (const entry &rhs) const noexcept

Public Attributes

std::size_t hash
 Precomputed hash.
key
 Canonical key.
value
 Stored value.

Friends

constexpr bool operator< (const entry &lhs, std::size_t rhs_hash) noexcept
constexpr bool operator< (std::size_t lhs_hash, const entry &rhs) noexcept

Detailed Description

template<typename K, typename V, std::size_t N, typename Hash>
struct jh::meta::lookup_map< K, V, N, Hash >::entry

Single entry stored in the lookup table.

Contains precomputed hash, the canonical key, and its associated value.


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