compile time sequence through dub config or commandline.
    Paul Backus 
    snarwin at gmail.com
       
    Sun Dec  2 17:59:56 UTC 2018
    
    
  
On Sunday, 2 December 2018 at 14:50:05 UTC, Sjoerd Nijboer wrote:
> The idea being that bar can be packed in a library and the 
> program that includes this library can decide what parameters 
> will be added to foo whitout any runtime overhead and ugly 
> looking syntax.
The normal way to do this would be to make bar a template and 
have the program that uses it pass these parameters to it as 
template arguments.
    
    
More information about the Digitalmars-d-learn
mailing list