LUMIERA.clone/tests/vault/gear
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
..
activity-detector-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
activity-detector.hpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
block-flow-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
scheduler-activity-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
scheduler-commutator-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
scheduler-invocation-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
scheduler-load-control-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
scheduler-service-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
scheduler-stress-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
scheduler-usage-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
special-job-fun-test.cpp Library: investigate design for an opaque inline functor 2026-04-08 01:53:53 +02:00
stress-test-rig.hpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
test-chain-load-test.cpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
test-chain-load.hpp Tests: build an link a test-support library 2026-03-06 23:16:32 +01:00
work-force-test.cpp Testsuite: fix breakage 2026-03-24 23:19:05 +01:00