About alias

Sam Hu samhu.samhu at gmail.com
Tue Mar 31 02:08:47 PDT 2009

I am confused again this time about the key word alias when I read below tutorial:
Let's say this one:
template bSearch(alias Match, alias Fail, alias x, A...) {
    const bSearch = bSearchAlg!(0,Match,Fail,x,A);

what is the meaning of the 'alias ' before parm Match in the parms list,and what's the purpose?

Thanks and best regards,

More information about the Digitalmars-d-learn mailing list