The new, new phobos sneak preview

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Apr 11 15:10:40 PDT 2009


Frits van Bommel wrote:
> Andrei Alexandrescu wrote:
>>     alias TypeTuple!(GENERIC_READ,
>>             FILE_SHARE_READ, (SECURITY_ATTRIBUTES*).init, OPEN_EXISTING,
>>             FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN,
>>             HANDLE.init)
>>         defaults;
> 
> How is that a type-tuple? (As far as I can see, none of those are types...)

TypeTuple is a misnomer. A TypeTuple can contain not only types, but 
also compile-time expressions.

Andrei



More information about the Digitalmars-d mailing list