|
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.
|
POD-compatible tuple type supporting structured bindings and tuple-like utilities. More...
#include <jh/pods/tuple.h>
POD-compatible tuple type supporting structured bindings and tuple-like utilities.
The jh::pod::tuple<Ts...> template implements a recursive aggregate where each element is stored in a tuple_field<I, T> layer. This ensures full POD compliance while supporting element-wise access through jh::pod::get, and interoperability with std::tuple_size and std::tuple_element.
jh::pod::pair and jh::pod::array | Ts | Parameter pack of element types; each must satisfy cv_free_pod_like. |
jh::pod::make_tuple for portable creation.