What does the alias attribute do here

Mike none at none.com
Tue Feb 4 16:26:51 PST 2014


On Tuesday, 4 February 2014 at 17:17:13 UTC, Adam D. Ruppe wrote:
>
> This specifically won't compile, alias params are only allowed 
> in a compile-time list. So
>
> void foo(alias bar)() { ... }
>
> would work.
> [...]

Thanks, Adam, for the thorough explanation.  This was quite 
helpful for me as well.


More information about the Digitalmars-d-learn mailing list