catchy phrase for this idiom?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Mar 12 18:21:04 PDT 2009
Sergey Gromov wrote:
> Thu, 12 Mar 2009 06:33:34 -0700, Andrei Alexandrescu wrote:
>
>> Hello,
>>
>> I'm looking for a catchy phrase denoting this D idiom:
>>
>> template Blah(Stuff)
>> {
>> alias ... Blah;
>> }
>>
>> i.e., defining inside a template a symbol of the same name as the
>> template itself. Then you can use Blah!(X, Y) to mean Blah!(X, Y).Blah.
>>
>> What would be a catchy, descriptive, and memorable phrase for this?
>>
>> Thanks,
>>
>> Andrei
>
> maybe parametrized alias
That sounds good but (I'm saying this to all others who focused on
"alias") - the inner name doesn't have to be an alias.
Andrei
More information about the Digitalmars-d
mailing list