lumiera_/tests/library/meta
Ichthyostega 738d9e5b67 clean-up: simplify function-closure -- investigate BindToArgument
...because swapping in the new standards-based implementation
leads to compile failures on tests to cover out-of-bounds cases.

Under the (wrong) assumption, that some mistake must be hidden in
the Splice-metafunction, I first provided a complete test coverage;
while the actual problem was right below my nose, and quite obvious...

The old implementation, being based on a case distinction over the argument count,
simply was not able even to notice excess arguments; other the new implementation,
based on variadics and `std::apply`, which is fully generic and thus
passes excess arguments to `std::bind` when a position beyond the actual
argument list is specified to be closed.

The old behaviour was to silently ignore such an out-of-bounds spec,
and this can be reinstated by explicitly capping the prepared tuple
of binders and actual arguments passed to `std::bind`

Another question of course is, if being tolerant here is a good idea.


And beyond that, function-closure.hpp is still terrifyingly complex,
unorganised and use-case driven, to start with....
2025-06-05 18:00:05 +02:00
..
access-casted-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
duck-detector-extension-test.cpp Library: shorten display of unsigned types 2024-11-22 22:02:45 +01:00
duck-detector-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
dummy-functions.hpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
function-closure-test.cpp clean-up: simplify function-closure -- rebuild the 'bind' case 2025-06-05 03:19:03 +02:00
function-composition-test.cpp clean-up: simplify function-closure -- investigate BindToArgument 2025-06-05 18:00:05 +02:00
function-erasure-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
function-signature-test.cpp Library: shorten display of unsigned types 2024-11-22 22:02:45 +01:00
generator-combinations-test.cpp clean-up: validate use of variadic seq with tuples and generators 2025-06-03 16:14:13 +02:00
generator-test.cpp clean-up: prepare for variadic Type-Sequences (see #987) 2025-06-02 03:24:44 +02:00
iterable-classification-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
late-bind-instance-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
meta-utils-test.cpp clean-up: the big anti-bang -- NullType becomes Nil 2025-06-02 17:46:40 +02:00
tuple-closure-test.cpp Invocation: complete closure-helper and tests 2025-02-18 00:24:55 +01:00
tuple-diagnostics.hpp clean-up: validate the typelist manipulations 2025-06-02 23:55:08 +02:00
tuple-helper-test.cpp clean-up: validate use of variadic seq with tuples and generators 2025-06-03 16:14:13 +02:00
tuple-record-init-test.cpp clean-up: validate use of variadic seq with tuples and generators 2025-06-03 16:14:13 +02:00
type-demangling-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
type-display-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
typelist-diagnostics.hpp clean-up: define variadic type-sequences independently 2025-06-04 03:21:18 +02:00
typelist-manip-test.cpp clean-up: simplify function-closure -- investigate BindToArgument 2025-06-05 18:00:05 +02:00
typelist-test.cpp clean-up: complement and modernise basic type-lists 2025-06-02 19:07:05 +02:00
typelist-util-test.cpp clean-up: complement and modernise basic type-lists 2025-06-02 19:07:05 +02:00
typeseq-manip-test.cpp clean-up: define variadic type-sequences independently 2025-06-04 03:21:18 +02:00
value-type-binding-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
variadic-argument-picker-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00
variadic-helper-test.cpp Invocation: pave a way for more generic processing via ''type-sequence'' 2024-12-18 05:55:00 +01:00
virtual-copy-support-test.cpp Copyright: clarify and simplify the file headers 2024-11-17 23:42:55 +01:00