Copy parameters from function passed as an alias
    Paul Backus 
    snarwin at gmail.com
       
    Wed Oct 10 18:15:52 UTC 2018
    
    
  
On Wednesday, 10 October 2018 at 12:10:06 UTC, bauss wrote:
> On Wednesday, 10 October 2018 at 08:16:11 UTC, Kagamin wrote:
>> How do you want to use parameter names of an arbitrary 
>> function?
>
> What I want to do is pass a function to a template and that 
> template creates a function with the same parameters as the 
> function passed to it, if it wasn't clear.
>
> I can already do that if you see my examples, BUT it's not 
> pretty.
I suppose the question is, why is your first example inadequate? 
In other words, why is it important that the parameters of the 
generated function have the same names as the original parameters?
    
    
More information about the Digitalmars-d-learn
mailing list