Alias function declaration.

MaoKo maoko at riseup.net
Tue May 19 22:04:49 UTC 2020


Hello. I just want to find what is exactly the difference between:
alias _ = void function(int);
alias void _(int);
Because it's seem that the latter can't be used in the 
declaration of an array (eg: _[] ...).
I think the first is a pointer to function and the second is a 
function type itself but I'm not sure.
Regard.


More information about the Digitalmars-d-learn mailing list