The new, new phobos sneak preview

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Apr 11 16:36:36 PDT 2009


Frits van Bommel wrote:
> Andrei Alexandrescu wrote:
>> 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.
> 
> I know, that's what I was pointing out :).
> I figure, you've got commit access to Phobos...

I wonder what a good name would be.

Andrei



More information about the Digitalmars-d mailing list