LUMIERA.clone/tests/lib/meta
Ichthyostega a0d83b4fe8 Library: investigate design for an opaque inline functor
This is a design study to find out what would be required
to build an opaque function wrapper, similar to `std::function`,
yet without using any heap memory ever.

Such a building block would allow for some interesting options
for a well structured design of elaborate data structures.

This changeset provides an implementation draft.

__Two important findings to note__:
 * it is impossible to get away with just a single function pointer
 * because at the very least we need to invoke the destructor of the
   embedded delegate. Thus something akin to a "manager" is required.
 * this implies that the component would not be so efficient as I hoped,
   since it requires two pointers and requires to emit code for each
   type of delegate.
 * by making the component **NonCopyable**, I avoided the complexities
   of virtual copy support. In case the latter is desired, it would be
   much simpler to switch to a classical OO approach with a VTable
   and use our `PolymorphicValue` wrapper to handle copy and cloning.
2026-04-08 01:53:53 +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-inline-test.cpp Library: investigate design for an opaque inline functor 2026-04-08 01:53:53 +02: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