Obtaining argument names in (variadic) functions

JR via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Mar 16 14:05:43 PDT 2016


On Wednesday, 16 March 2016 at 20:43:09 UTC, jkpl wrote:
> I try to anticipate the reason why you want this. [...]

I use something *kinda* sort of similar in my toy project to 
print all fields of a struct, for debugging purposes when stuff 
goes wrong. Getting the names of the member variables is crucial 
then.

http://dpaste.dzfl.pl/748c4dd97de6


More information about the Digitalmars-d-learn mailing list