On Thursday, 20 January 2022 at 00:55:33 UTC, Jack Stouffer wrote: > static foreach(member; __traits(allMembers, > Manager)) member here is a string, not the member. I prefer to call it memberName. Then you __traits(getMember, Manager, memberName) to actually get the alias you can pass to getAttributes.