where is parameterNames?

Philippe Sigaud philippe.sigaud at gmail.com
Wed Aug 15 13:02:03 PDT 2012


On Wed, Aug 15, 2012 at 6:46 PM, David Nadlinger <see at klickverbot.at> wrote:
> On Tuesday, 14 August 2012 at 16:06:33 UTC, Jacob Carlborg wrote:
>>
>>
>> https://github.com/jacob-carlborg/orange/blob/master/orange/util/Reflection.d#L29
>
>
> Related:
> https://github.com/D-Programming-Language/phobos/blob/master/std/traits.d#L510

Hmm:

static if (is(typeof(func[0]) PT == __parameters))

__parameters is a new feature in is()' treasure vault, right?

Testing it, it seems to return the parameter tuple of a function.
That's cool. However, that'd be cooler if it was documented somewhere.
Was that in 2.060 changelog?


More information about the Digitalmars-d-learn mailing list