On 2013-09-04 13:54, Andrej Mitrovic wrote:
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, ...).
I agree. Wonder why this approach was chosen. -- /Jacob Carlborg