|
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.
|
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. | |
| K | key |
| Canonical key. | |
| V | 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 |
Single entry stored in the lookup table.
Contains precomputed hash, the canonical key, and its associated value.