Is there a way to get the list of names of a class' member variables?

Jonathan M Davis jmdavisprog at gmail.com
Sun Jul 4 03:42:46 PDT 2010


MemberFunctionsTuple() from std.traits will return the list of names of member 
function, and FieldTypeTuple from std.traits will return the list of the _types_ 
of the member variables. But I don't see a function that returns the list of the 
_names_ of the member variables. Am I just blind, or does such a function not 
currently exist?

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list