<div dir="ltr"><div dir="ltr">On Wed, Jul 29, 2020 at 10:55 PM Adam D. Ruppe via Digitalmars-d <<a href="mailto:digitalmars-d@puremagic.com">digitalmars-d@puremagic.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday, 29 July 2020 at 10:38:29 UTC, Manu wrote:<br>
> On Wed, Jul 29, 2020 at 9:40 AM Jean-Louis Leroy via<br>
>> Guaranteed failure then? ;-)<br>
><br>
> Yes.<br>
<br>
What's wrong with my solution earlier in the thread?<br></blockquote><div><br></div><div>It's pretty good, except my experience is that __parameters works only in the narrow case of a verbatim forward. I rarely find I need to implement a verbatim forward; I almost always seem to encounter a forwarding pattern when it is necessary to perform a parameter transformation of some kind, or a parameter injection. You need to be able to handle the arguments and iterate/manipulate them.</div><div>I find I'm typically synthesising wrappers or shim's, not verbatim forwarding... which isn't strictly the topic of this thread, but it's a 100% related problem, and it seems to be what I actually need to do 95% of the time rather than the challenge in the OP.</div></div></div>