www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - ParameterNameTuple(T)? Or maybe just a ParameterTuple(T)


I've noticed that one very handy thing that D lacks is a
ParameterNameTuple(T), or rather, a plain ParameterTuple(T) that lets us
inspect *all* aspects of a parameter (e.g. ref/lazy/out, name, etc.).
Sometimes I have a function whose names I need to reference as an entire
package, and having a tuple of them would be nice. So I just wanted to suggest
that, if possible, please consider adding this in some future version.

Thank you! :) D is awesome.
Jan 06 2011