lumiera_documentation/tests/vault
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
..
cache BufferProvider: relocate TestFrame and dummy-hash computations 2026-03-07 23:02:35 +01:00
gear Library: investigate design for an opaque inline functor 2026-04-08 01:53:53 +02:00
io BufferProvider: relocate TestFrame and dummy-hash computations 2026-03-07 23:02:35 +01:00
mem OutputSlot: consider how to integrate the proxy provider 2026-03-17 00:48:08 +01:00
out BufferProvider: obvious convenience function 2026-03-24 23:48:13 +01:00
storage BufferProvider: relocate TestFrame and dummy-hash computations 2026-03-07 23:02:35 +01:00
toolkit BufferProvider: relocate TestFrame and dummy-hash computations 2026-03-07 23:02:35 +01:00
DIR_INFO Scheduler: investigate modes of operation 2023-07-03 18:40:37 +02:00