|
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.
|
Default key conversion traits. More...
#include <jh/metax/lookup_map.h>
Public Types | |
| using | canonical_type = T |
| using | apparent_type = const T & |
Static Public Member Functions | |
| static constexpr canonical_type | to_canonical (apparent_type &v) noexcept |
| Convert apparent value to canonical key. | |
Default key conversion traits.
Defines canonical key type as T and accepts const T& as the apparent lookup input. Derived specializations may override conversion rules to enable heterogeneous lookup.
| T | Key canonical type. |
|
inlinestaticconstexprnoexcept |
Convert apparent value to canonical key.
| v | Input key reference. |