--- Comment #17 from Manu <turkey...@gmail.com> 2012-06-26 01:06:12 PDT ---
(In reply to comment #15)
> 2. adding a "parameters" to traits, so that:
> __traits(parameters, foo)
> returns a tuple that includes types, identifiers, and default values (like the
> 2.060 beta does now)?
Will that also include the storage class: const/ref/in/out/scope/...?
How would the code look to mirror an argument list to a new function? And how
would the code look to pick and choose individual pieces from the parameter
definition (ie, to capture just the name)?
I suppose std.traits would gain a bunch of helpers?
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------