http://d.puremagic.com/issues/show_bug.cgi?id=5175
Summary: Add a way to get parameter names to std.traits Product: D Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: jmdavisp...@gmx.com --- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-11-05 15:14:08 PDT --- You can use std.traits.ParameterTypeTuple!() to get the types of the parameters to a function, but there is not currently a way to get the names of the parameters. Apparently, this would be useful for creating bindings with other programming languages, so it should be added. It's discussed in this question on stackoverflow: http://is.gd/gLeNf So, we should have something like std.traits.ParameterNameTuple!() which gives the names of a function's parameters. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------