|
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.
|
Checks whether a type P is a 2-element tuple-like whose element types exactly match K and V (after remove_cvref).
More...
#include <jh/conceptual/tuple_like.h>
Checks whether a type P is a 2-element tuple-like whose element types exactly match K and V (after remove_cvref).
Accepts any tuple-like type with tuple_size == 2. Both ADL get<0>(p) and get<1>(p) must yield values whose remove_cvref_t types are exactly K and V, with no implicit conversions allowed.
| P | The candidate pair-like type. |
| K | The expected key type. |
| V | The expected value type. |