Is returning void functions inside void functions a feature or an artifact?

Ali Çehreli acehreli at yahoo.com
Mon Aug 2 17:02:06 UTC 2021


On 8/2/21 9:42 AM, Rekel wrote:

 > when would one use an alias instead of a
 > function/delegate? I haven't used aliases before.

alias will match both functions and delegates... and... any symbol at 
all. So, if you don't have a reason to constain the user, callable 
template parameters are most usefully aliases.

Ali



More information about the Digitalmars-d-learn mailing list