...since the Policy class now defines the function signature, we can no longer assume that "input" is size_t. Rather, all invocations must rely on the generic adaptaion scheme. Getting this correct turns out rather tricky again; best to rely on a generic function-composition. Indeed I programmed such a helper several years ago, with the caveat that at that time we used C++03 and could not perfect-forward arguments. Today this problem can be solved much more succinct using generic Lambdas. |
||
|---|---|---|
| .. | ||
| draw | ||
| DIR_INFO | ||
| empty.html | ||
| InterfaceConcept_Varga.mm | ||
| renderengine.html | ||
| thinkPad.ichthyo.mm | ||
| uml | ||
| workflow.mm | ||