|
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.
|
Tuple flattening utilities and proxy wrapper for nested tuple-like types. More...
Go to the source code of this file.
Classes | |
| struct | jh::meta::flatten_proxy< Tuple > |
| Proxy wrapper that lazily exposes flattened tuple access. More... | |
| struct | std::tuple_size< jh::meta::flatten_proxy< Tuple > > |
| struct | std::tuple_element< I, jh::meta::flatten_proxy< Tuple > > |
Namespaces | |
| namespace | jh::meta |
| Aggregated entry point for compile-time metaprogramming utilities. | |
Functions | |
| template<typename Tuple> | |
| constexpr auto | jh::meta::tuple_materialize (const Tuple &t) |
| Flattens a tuple-like object into a fully materialized std::tuple. | |
| template<std::size_t I, typename Tuple> | |
| constexpr decltype(auto) | jh::meta::get (const flatten_proxy< Tuple > &p) noexcept |
Tuple flattening utilities and proxy wrapper for nested tuple-like types.
The jh::meta::flatten_proxy mechanism provides a compile-time meta-layer for expanding and materializing arbitrarily nested tuple_like structures into a single flattened std::tuple.
tuple_like. tuple_materialize() API for generic metaprogramming. jh::meta::tuple_materialize โ Flattens any tuple-like object. jh::meta::flatten_proxy โ Lazy wrapper exposing flattened get interface.
zip_reference_proxy. std::tuple_size / std::tuple_element for structured binding compatibility. 1.3.x
2025