function(pointer) as template argument, explicit template instantiation

kdevel kdevel at vogtner.de
Fri Dec 31 13:26:32 UTC 2021


On Friday, 31 December 2021 at 12:36:46 UTC, H. S. Teoh wrote:
> ```
> void lyr(alias Fn)(ref R r)
> {
> 	Fn(r);
> }
> ```

Thanks! That helped me reinvent the engine.



More information about the Digitalmars-d-learn mailing list