lumiera_documentation/tests/lib/meta
Ichthyostega 0760525ea5 Library: deep dive into type reconciliation and tuple handling
This commit is the aggregated result of extended research
that is only loosely related to current development topics.

One theme was the construction of nested data structures using tuples,
which faces some difficulties due to tuple manipulations being limited
almost entirely to compile-time processing. However, the barrier between
compile-time and runtime can be overcome with the help of a dispatcher
table -- which leads to the secondary problem to handle the diverse
tuple elements with a common, generic functor. Such a functor can be
constructed, if and only if those element types are ''reconcilable''

The STDLIB provides two metafunctions, `std::common_type` and
`std::common_refernce`, which however pose some challenges for the
task at hand, since they include additional processing. In the end,
a custom version of the ''basic type reconciliation'' was implemented
and tested, and then used as foundation to build a dispatcher table
for runtime-indexed access and iteration over tuples.

As an aside, several deeply hidden bugs in our library code were resolved,
and the tuple-helpers, tuple string rendering and associated utilities
were regrouped and modernised.

As result of this research work, the following components are provided:
- meta/common-result
- meta/fun-trampoline
- meta/tuple-index-adaptor
2026-04-07 06:32:23 +02:00
..
access-casted-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
common-result-test.cpp Library: deep dive into type reconciliation and tuple handling 2026-04-07 06:32:23 +02:00
duck-detector-extension-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
duck-detector-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
dummy-functions.hpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
fun-trampoline-test.cpp Library: deep dive into type reconciliation and tuple handling 2026-04-07 06:32:23 +02:00
function-closure-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
function-composition-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
function-erasure-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
function-signature-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
generator-combinations-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
generator-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
iterable-classification-test.cpp Library: investigate further ramifications and clean-up Itertools 2026-04-01 01:49:36 +02:00
late-bind-instance-test.cpp Library: deep dive into type reconciliation and tuple handling 2026-04-07 06:32:23 +02:00
meta-utils-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
prop-builder-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
tuple-closure-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
tuple-diagnostics.hpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
tuple-helper-test.cpp Library: deep dive into type reconciliation and tuple handling 2026-04-07 06:32:23 +02:00
tuple-idx-adaptor-test.cpp Library: deep dive into type reconciliation and tuple handling 2026-04-07 06:32:23 +02:00
tuple-record-init-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
type-demangling-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
type-display-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
typelist-diagnostics.hpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
typelist-manip-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
typelist-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
typelist-util-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
typeseq-manip-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
value-type-binding-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
variadic-argument-picker-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00
variadic-helper-test.cpp Library: deep dive into type reconciliation and tuple handling 2026-04-07 06:32:23 +02:00
virtual-copy-support-test.cpp Tests: reorganise test folders 2026-03-07 00:56:19 +01:00