On 2009-04-11 19:36:36 -0400, Andrei Alexandrescu <[email protected]> said:

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.

Compile time expressions, just like in a static assert and a static if? StaticTuple, obviously.

--
Michel Fortin
[email protected]
http://michelf.com/

Reply via email to