Investigation in test setup reveals that the intended solution for dynamic configuration of the RandomDraw can not possibly work. The reason is: the processing function binds back into the object instance. This implies that RandomDraw must be *non-copyable*. So we have to go full circle. We need a way to pass the current instance to the configuration function. And the most obvious and clear way would be to pass it as function argument. Which however requires to *partially apply* this function. So -- again -- we have to resort to one of the functor utilities written several years ago; and while doing so, we must modernise these tools further, to support perfect forwarding and binding of reference arguments. |
||
|---|---|---|
| .. | ||
| access-casted-test.cpp | ||
| config-flags-test.cpp | ||
| duck-detector-extension-test.cpp | ||
| duck-detector-test.cpp | ||
| dummy-functions.hpp | ||
| function-closure-test.cpp | ||
| function-composition-test.cpp | ||
| function-erasure-test.cpp | ||
| function-signature-test.cpp | ||
| generator-combinations-test.cpp | ||
| generator-test.cpp | ||
| iterable-classification-test.cpp | ||
| late-bind-instance-test.cpp | ||
| meta-utils-test.cpp | ||
| tuple-diagnostics.hpp | ||
| tuple-helper-test.cpp | ||
| tuple-record-init-test.cpp | ||
| type-demangling-test.cpp | ||
| type-display-test.cpp | ||
| typelist-diagnostics.hpp | ||
| typelist-manip-test.cpp | ||
| typelist-test.cpp | ||
| typelist-util-test.cpp | ||
| typeseq-manip-test.cpp | ||
| value-type-binding-test.cpp | ||
| variadic-argument-picker-test.cpp | ||
| virtual-copy-support-test.cpp | ||