On 9/3/13, Adam D. Ruppe <[email protected]> wrote:
> On Tuesday, 3 September 2013 at 21:20:04 UTC, Andrej Mitrovic
> wrote:
>>         foreach (id; ParameterIdentifierTuple!func)
>
> How do I keep missing these new std.traits things? Very nice.
>

It's really funky that an is() expression is used to extract this:

static if (is(FunctionTypeOf!func PT == __parameters)) { }

I'd assume it would be __traits(getParams, ...).

Reply via email to