lumiera_documentation/doc
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
..
design DOC: minor wording improvements 2026-03-04 12:52:04 +01:00
devel BufferProvider: document the adapted structure in UML 2026-03-14 20:44:27 +01:00
technical Library: investigate design for an opaque inline functor 2026-04-08 01:53:53 +02:00
user DOC: minor wording improvements 2026-03-04 12:52:04 +01:00
.gitignore infrastructure to test the documentation standalone 2018-11-01 04:38:17 +01:00
DIR_INFO spelling fixes 2011-02-06 02:12:55 +01:00
index.txt Application: Adjustments to the Layer structure 2026-03-03 22:16:09 +01:00
SConscript Build: provide a placeholder page for the (planned) User-Manual 2025-11-18 23:09:54 +01:00