What does __parameters return?
simendsjo
simendsjo at gmail.com
Fri Sep 13 02:11:21 PDT 2013
On Friday, 13 September 2013 at 07:42:48 UTC, Jacob Carlborg
wrote:
> On 2013-09-13 08:33, simendsjo wrote:
>
>> Didn't know you could call __traits(identifier for the
>> __parameter
>> values. __parameters is practically undocumented, and doesn't
>> even have
>> an example.
>
> It's documented here:
>
> http://dlang.org/expression.html#IsExpression
>
> Scroll down to the table, next to format 6. Sure, it's not
> documented much, but at least it's mentioned.
Yeah, I copied the documentation in my first post - a single
line: "the parameter tuple of a function,
delegate, or function pointer. This includes the parameter types,
names, and default values."
But it's quite strange..
More information about the Digitalmars-d-learn
mailing list